Enabled full IPv6 support
This commit is contained in:
parent
40631b7876
commit
0c59442e07
@ -1,11 +1,16 @@
|
|||||||
server:
|
server:
|
||||||
interface: 0.0.0.0
|
interface: 0.0.0.0
|
||||||
|
interface: ::0
|
||||||
port: 53
|
port: 53
|
||||||
root-hints: "/usr/share/dns/root.hints"
|
root-hints: "/usr/share/dns/root.hints"
|
||||||
auto-trust-anchor-file: "/var/lib/unbound/root.key"
|
auto-trust-anchor-file: "/var/lib/unbound/root.key"
|
||||||
access-control: 0.0.0.0/0 refuse
|
access-control: 0.0.0.0/0 refuse
|
||||||
access-control: 127.0.0.0/8 allow
|
access-control: 127.0.0.0/8 allow
|
||||||
access-control: 10.10.10.0/24 allow
|
access-control: 10.10.10.0/24 allow
|
||||||
|
access-control: ::0/0 refuse
|
||||||
|
access-control: ::1 allow
|
||||||
|
access-control: ::ffff:127.0.0.0/104 allow
|
||||||
|
access-control: fd10:10:10::1/64 allow
|
||||||
private-address: 0.0.0.0/8
|
private-address: 0.0.0.0/8
|
||||||
private-address: ::ffff:0.0.0.0/104
|
private-address: ::ffff:0.0.0.0/104
|
||||||
private-address: 10.0.0.0/8
|
private-address: 10.0.0.0/8
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[Interface]
|
[Interface]
|
||||||
PrivateKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
PrivateKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
Address = 10.10.10.2/32
|
Address = 10.10.10.2/32, fd10:10:10::2/128
|
||||||
DNS = 10.10.10.1
|
DNS = 10.10.10.1, fd10:10:10::1
|
||||||
|
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
AllowedIPs = 0.0.0.0/0, ::/0
|
AllowedIPs = 0.0.0.0/0, ::0/0
|
||||||
Endpoint = XXX.XXX.XXX.XXX:51820
|
Endpoint = XXX.XXX.XXX.XXX:51820
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
#[Peer]
|
#[Peer]
|
||||||
#PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
#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]
|
[Interface]
|
||||||
Address = 10.10.10.1/24
|
Address = 10.10.10.1/24, fd10:10:10::1/64
|
||||||
ListenPort = 51820
|
ListenPort = 51820
|
||||||
# Load keys
|
# Load keys
|
||||||
PostUp = [ -e '/etc/wireguard/%i-privatekey' ] || (umask 077 && wg genkey > '/etc/wireguard/%i-privatekey')
|
PostUp = [ -e '/etc/wireguard/%i-privatekey' ] || (umask 077 && wg genkey > '/etc/wireguard/%i-privatekey')
|
||||||
|
Loading…
Reference in New Issue
Block a user