Tunnels IPv6

This commit is contained in:
Quentin McGaw (desktop)
2020-02-22 16:32:59 +00:00
parent 1aebe1a4c1
commit 023f1c7e8e
4 changed files with 4 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ func generateUnboundConf(settings settings.DNS, client network.Client, logger lo
"harden-algo-downgrade": "yes",
// Network
"do-ip4": "yes",
"do-ip6": "no",
"do-ip6": "yes",
"interface": "127.0.0.1",
"port": "53",
// Other

View File

@@ -43,7 +43,7 @@ server:
cache-max-ttl: 9000
cache-min-ttl: 3600
do-ip4: yes
do-ip6: no
do-ip6: yes
harden-algo-downgrade: yes
harden-below-nxdomain: yes
harden-referral-path: yes

View File

@@ -43,6 +43,7 @@ func (c *configurator) BuildConf(connections []models.OpenVPNConnection, verbosi
// "rcvbuf 524288"
"cipher AES-256-CBC",
"tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA",
"tun-ipv6",
// Added constant values
"mute-replay-warnings",

View File

@@ -80,6 +80,7 @@ func (c *configurator) BuildConf(connections []models.OpenVPNConnection, encrypt
"reneg-sec 0",
// Added constant values
"tun-ipv6",
"mute-replay-warnings",
"user nonrootuser",
"pull-filter ignore \"auth-token\"", // prevent auth failed loops