Enabled full IPv6 support
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
[Interface]
|
||||
PrivateKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
Address = 10.10.10.2/32
|
||||
DNS = 10.10.10.1
|
||||
Address = 10.10.10.2/32, fd10:10:10::2/128
|
||||
DNS = 10.10.10.1, fd10:10:10::1
|
||||
|
||||
[Peer]
|
||||
PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
AllowedIPs = 0.0.0.0/0, ::/0
|
||||
AllowedIPs = 0.0.0.0/0, ::0/0
|
||||
Endpoint = XXX.XXX.XXX.XXX:51820
|
||||
|
@@ -1,3 +1,11 @@
|
||||
#[Peer]
|
||||
#PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
#AllowedIPs = 10.10.10.2/32
|
||||
#AllowedIPs = 10.10.10.2/32, fd10:10:10::2/128
|
||||
|
||||
#[Peer]
|
||||
#PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
#AllowedIPs = 10.10.10.3/32, fd10:10:10::3/128
|
||||
|
||||
#[Peer]
|
||||
#PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
#AllowedIPs = 10.10.10.4/32, fd10:10:10::4/128
|
||||
|
@@ -1,5 +1,5 @@
|
||||
[Interface]
|
||||
Address = 10.10.10.1/24
|
||||
Address = 10.10.10.1/24, fd10:10:10::1/64
|
||||
ListenPort = 51820
|
||||
# Load keys
|
||||
PostUp = [ -e '/etc/wireguard/%i-privatekey' ] || (umask 077 && wg genkey > '/etc/wireguard/%i-privatekey')
|
||||
|
Reference in New Issue
Block a user