mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 03:10:16 +00:00
Merge pull request #501: Fix DNS leak on Windows systems
DNS leak fix in server_config.txt
This commit is contained in:
commit
1375fa1374
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ server 10.8.0.0 255.255.255.0
|
||||||
# Set your primary domain name server address for clients
|
# Set your primary domain name server address for clients
|
||||||
push "dhcp-option DNS 8.8.8.8"
|
push "dhcp-option DNS 8.8.8.8"
|
||||||
push "dhcp-option DNS 8.8.4.4"
|
push "dhcp-option DNS 8.8.4.4"
|
||||||
|
# Prevent DNS leaks on Windows
|
||||||
|
push "block-outside-dns"
|
||||||
# Override the Client default gateway by using 0.0.0.0/1 and
|
# Override the Client default gateway by using 0.0.0.0/1 and
|
||||||
# 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of
|
# 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of
|
||||||
# overriding but not wiping out the original default gateway.
|
# overriding but not wiping out the original default gateway.
|
||||||
|
|
Loading…
Reference in a new issue