1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-25 21:20:41 +08:00

vpn: Updated WireGuard config

This commit is contained in:
Neo_Chen 2020-05-24 18:08:25 +08:00
parent c78a7565a7
commit 476ddad70d
No known key found for this signature in database
GPG key ID: CA0957540FD996CD

View file

@ -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 =