mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-22 12:40:40 +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]
|
||||
Address = 10.127.x.x/32, fd80::/32
|
||||
PostUp = /path/to/wg-postup.sh <Interface Name> 10.127.x.x/32 <Peer> fd80::/32 <Peer IPv6>
|
||||
# Custom DNS
|
||||
#DNS = 127.0.0.1
|
||||
Address = <Local IPv4>, <Local IPv6>
|
||||
PostUp = /path/to/wg-postup.sh <Interface Name> <Local IPv4> <Peer IPv4> <Local IPv6> <Peer IPv6>
|
||||
# Set MTU to 1412 if using PPP
|
||||
#MTU = 1412
|
||||
Table = off
|
||||
|
@ -10,7 +8,7 @@ ListenPort =
|
|||
PrivateKey =
|
||||
|
||||
[Peer]
|
||||
AllowedIPs = 0.0.0.0/0
|
||||
AllowedIPs = 0.0.0.0/0, ::0/0
|
||||
PersistentKeepalive = 25
|
||||
PublicKey =
|
||||
Endpoint =
|
||||
|
|
Loading…
Reference in a new issue