Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jan 20, 2011 4:18 pm 
Offline
Senior Newbie

Joined: Sat Apr 18, 2009 11:33 pm
Posts: 7
Hello,
I have a brand new linode and followed the openvpn installation instructions described here including the dnsmasq as I want to tunnel those requests too.

http://library.linode.com/networking/op ... 0-maverick

Everything works from the client except that I can see the DNS request being requested on the client.

Does anybody know why is that?

The client is an XP machine and the TUN/TAP network has priority, I read also somewhere that it might be that my DNS on my linode (dnsmasq) is not working so it's defaulting to the local one.
How can I test that my server dnsmasq is working from the tunnel?

Any info is appreciated


Top
   
 Post subject:
PostPosted: Fri Jan 21, 2011 12:31 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
I've actually had the same problem with OpenVPN. If I connect my Windows 7 desktop to my Linode's OpenVPN server, it'll get the Linode DNS servers via DHCP (which is good), but it won't route DNS through the VPN, so the Linode DNS servers don't work (which is bad).

My workaround was to manually specify Google's public DNS for my OpenVPN adapter, but it's still sub-optimal.


Top
   
PostPosted: Fri Jan 21, 2011 3:21 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
pic.micro23 wrote:
Everything works from the client except that I can see the DNS request being requested on the client.


Maybe this?


Top
   
 Post subject:
PostPosted: Sun Jan 23, 2011 9:29 am 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
Unless things have changed drastically recently openvpn is good at following the KISS principle, so there is very little magic involved.


Whether communication with these DNS servers that you have configured your openvpn server to push to the client happens over the tunnel or not should simply come down to the routing table on the client and in turn what routes are pushed by the openvpn server.

If the DNS servers are not on one of the networks that the openvpn server pushes a route for, there is no reason why the client should communicate with it over the tunnel.

Possible solution if this is indeed the issue: Simply add route(s) as appropriate for anything you want tunneled.


Top
   
 Post subject:
PostPosted: Tue Jan 25, 2011 10:12 am 
Offline
Senior Newbie

Joined: Sat Apr 18, 2009 11:33 pm
Posts: 7
Guzpaz, Stever thx a lot for your comments.

I tried changing this the priority in the client and it did not work so that leaves the option that Guzpas said about the DNS not working correcly on the server side.

I research how to change the DSN to be used or ROUTES on the openvpn config.

Thx


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