mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-22 18:00:41 +08:00
vpn: Updated WireGuard config
This commit is contained in:
parent
c78a7565a7
commit
476ddad70d
1 changed files with 3 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
||||||
[Interface]
|
[Interface]
|
||||||
Address = 10.127.x.x/32, fd80::/32
|
Address = <Local IPv4>, <Local IPv6>
|
||||||
PostUp = /path/to/wg-postup.sh <Interface Name> 10.127.x.x/32 <Peer> fd80::/32 <Peer IPv6>
|
PostUp = /path/to/wg-postup.sh <Interface Name> <Local IPv4> <Peer IPv4> <Local IPv6> <Peer IPv6>
|
||||||
# Custom DNS
|
|
||||||
#DNS = 127.0.0.1
|
|
||||||
# Set MTU to 1412 if using PPP
|
# Set MTU to 1412 if using PPP
|
||||||
#MTU = 1412
|
#MTU = 1412
|
||||||
Table = off
|
Table = off
|
||||||
|
@ -10,7 +8,7 @@ ListenPort =
|
||||||
PrivateKey =
|
PrivateKey =
|
||||||
|
|
||||||
[Peer]
|
[Peer]
|
||||||
AllowedIPs = 0.0.0.0/0
|
AllowedIPs = 0.0.0.0/0, ::0/0
|
||||||
PersistentKeepalive = 25
|
PersistentKeepalive = 25
|
||||||
PublicKey =
|
PublicKey =
|
||||||
Endpoint =
|
Endpoint =
|
||||||
|
|
Loading…
Reference in a new issue