Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: VPN DNS
PostPosted: Sat Nov 15, 2014 5:54 pm 
Offline
Newbie

Joined: Sat Nov 15, 2014 4:19 pm
Posts: 3
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?


Top
   
 Post subject: Re: VPN DNS
PostPosted: Sat Nov 15, 2014 6:31 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Would the DNS be set to this perhaps?

Code:
push "dhcp-option DNS 10.8.0.1"

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
 Post subject: Re: VPN DNS
PostPosted: Sun Nov 16, 2014 1:18 am 
Offline
Newbie

Joined: Sat Nov 15, 2014 4:19 pm
Posts: 3
Thats what I have it set to, I included the OpenVPN server.conf in my original post.


Top
   
 Post subject: Re: VPN DNS
PostPosted: Tue Nov 18, 2014 12:27 am 
Offline
Newbie

Joined: Sat Nov 15, 2014 4:19 pm
Posts: 3
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group