Linode Forum
https://forum.linode.com/

VPN DNS
https://forum.linode.com/viewtopic.php?f=19&t=11425
Page 1 of 1

Author:  justsome1 [ Sat Nov 15, 2014 5:54 pm ]
Post subject:  VPN DNS

I just setup a VPN using the linode tutorial, and when I do a dns leak test the dns provided by the vpn is not showed and the dns used by the router using to connect is showed.

This is the server config file:
Code:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 10.8.0.1"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3


What do I need to do to prevent this?

Author:  vonskippy [ Sat Nov 15, 2014 6:31 pm ]
Post subject:  Re: VPN DNS

Would the DNS be set to this perhaps?

Code:
push "dhcp-option DNS 10.8.0.1"

Author:  justsome1 [ Sun Nov 16, 2014 1:18 am ]
Post subject:  Re: VPN DNS

Thats what I have it set to, I included the OpenVPN server.conf in my original post.

Author:  justsome1 [ Tue Nov 18, 2014 12:27 am ]
Post subject:  Re: VPN DNS

I have now tried with push "dhcp-option DNS xxx.xxx.xxx.xxx" set to 2 different public dns servers instead of push "dhcp-option DNS 10.8.0.1" but still get the same results.

Any help would be much appreciated.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/