mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Handle peer defaults
This commit is contained in:
@@ -35,10 +35,15 @@
|
||||
}
|
||||
},
|
||||
"wireguard": {
|
||||
"interface": {
|
||||
"address": [ "10.3.141.1/24" ],
|
||||
"listenport": [ "51820" ],
|
||||
"dns": [ "10.3.141.1" ]
|
||||
"server": {
|
||||
"Address": [ "10.3.141.1/24" ],
|
||||
"ListenPort": [ "51820" ],
|
||||
"DNS": [ "10.3.141.1" ]
|
||||
},
|
||||
"peer": {
|
||||
"Endpoint": [ "server ip:53" ],
|
||||
"AllowedIPs": ["0.0.0.0/0"],
|
||||
"PersistentKeepalive": [ "15" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user