Tunnels IPv6
This commit is contained in:
@@ -60,7 +60,7 @@ func generateUnboundConf(settings settings.DNS, client network.Client, logger lo
|
|||||||
"harden-algo-downgrade": "yes",
|
"harden-algo-downgrade": "yes",
|
||||||
// Network
|
// Network
|
||||||
"do-ip4": "yes",
|
"do-ip4": "yes",
|
||||||
"do-ip6": "no",
|
"do-ip6": "yes",
|
||||||
"interface": "127.0.0.1",
|
"interface": "127.0.0.1",
|
||||||
"port": "53",
|
"port": "53",
|
||||||
// Other
|
// Other
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ server:
|
|||||||
cache-max-ttl: 9000
|
cache-max-ttl: 9000
|
||||||
cache-min-ttl: 3600
|
cache-min-ttl: 3600
|
||||||
do-ip4: yes
|
do-ip4: yes
|
||||||
do-ip6: no
|
do-ip6: yes
|
||||||
harden-algo-downgrade: yes
|
harden-algo-downgrade: yes
|
||||||
harden-below-nxdomain: yes
|
harden-below-nxdomain: yes
|
||||||
harden-referral-path: yes
|
harden-referral-path: yes
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ func (c *configurator) BuildConf(connections []models.OpenVPNConnection, verbosi
|
|||||||
// "rcvbuf 524288"
|
// "rcvbuf 524288"
|
||||||
"cipher AES-256-CBC",
|
"cipher AES-256-CBC",
|
||||||
"tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA",
|
"tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA",
|
||||||
|
"tun-ipv6",
|
||||||
|
|
||||||
// Added constant values
|
// Added constant values
|
||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ func (c *configurator) BuildConf(connections []models.OpenVPNConnection, encrypt
|
|||||||
"reneg-sec 0",
|
"reneg-sec 0",
|
||||||
|
|
||||||
// Added constant values
|
// Added constant values
|
||||||
|
"tun-ipv6",
|
||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"user nonrootuser",
|
"user nonrootuser",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
|
|||||||
Reference in New Issue
Block a user