mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-12 19:28:20 +00:00
29 lines
No EOL
693 B
JSON
29 lines
No EOL
693 B
JSON
{
|
|
"$id": "https://nfsense.net/schema/vpn/wireguard_peer.schema.json",
|
|
"title": "Wireguard Peer",
|
|
"type": "object",
|
|
"properties": {
|
|
"public_key": {
|
|
"type": "string"
|
|
},
|
|
"preshared_key": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"allowed_ips": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"endpoint": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"persistent_keepalive": {
|
|
"type": ["number", "null"]
|
|
},
|
|
"comment": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["public_key", "allowed_ips"]
|
|
} |