mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-23 21:46:08 +03:00
Prevent DNS leaks on Windows 10
- This will generate a warning in unsupported environments. - This will not work if the client is using an OpenVPN version lower than 2.3.9 - For OpenVPN 2.3.3+, ignore-unknown-option could be used instead of setenv opt to prevent a warning. TL;DR: upgrade to the latest OpenVPN on Windows, ignore the warning elsewhere. Thanks a lot for your continuous work on OpenVPN, @ValdikSS.
This commit is contained in:
parent
52f419e0d5
commit
acca10ba1a
@ -361,6 +361,7 @@ persist-key
|
|||||||
persist-tun
|
persist-tun
|
||||||
remote-cert-tls server
|
remote-cert-tls server
|
||||||
comp-lzo
|
comp-lzo
|
||||||
|
setenv opt block-outside-dns
|
||||||
verb 3" > /etc/openvpn/client-common.txt
|
verb 3" > /etc/openvpn/client-common.txt
|
||||||
# Generates the custom client.ovpn
|
# Generates the custom client.ovpn
|
||||||
newclient "$CLIENT"
|
newclient "$CLIENT"
|
||||||
|
Loading…
Reference in New Issue
Block a user