BrainStone
4 years ago
No known key found for this signature in database
GPG Key ID: 66CCC234C2CEB306
1 changed files with
2 additions and
2 deletions
-
src/lib/WireGuard.js
|
|
@ -98,8 +98,8 @@ module.exports = class WireGuard { |
|
|
# Server |
|
|
# Server |
|
|
[Interface] |
|
|
[Interface] |
|
|
PrivateKey = ${config.server.privateKey} |
|
|
PrivateKey = ${config.server.privateKey} |
|
|
Address = ${config.server.address}/24 |
|
|
Address = ${config.server.address}${address.subnet} |
|
|
ListenPort = 51820 |
|
|
ListenPort = WG_PORT |
|
|
PreUp = ${WG_PRE_UP} |
|
|
PreUp = ${WG_PRE_UP} |
|
|
PostUp = ${WG_POST_UP} |
|
|
PostUp = ${WG_POST_UP} |
|
|
PreDown = ${WG_PRE_DOWN} |
|
|
PreDown = ${WG_PRE_DOWN} |
|
|
|