LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-30-2008, 05:22 AM   #1
Sputnikc
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Rep: Reputation: 15
DNS - resolvconf with vpn problem


I'll try to explain my situation.

I'm at my home network with a router (192.168.0.1) using iptables and dnsmasq running debian stable
My clients 192.168.0.0/24 are running debian testing.

On my client i have running eth2 (lan-device) which uses the router as dns and a tun0 device wich is a openvpn connection to my work.
I use resolvconf to add the dns and domain of my work to /etc/resolv.conf .

Now when i have the tun0 device not active (vpn is not up) i can ping internally to "router" but when i have the vpn up (tun0) and the dns addes to my /etc/resolv.conf by resolvconf, the it tries to resolv my "router" by the dns of the vpn connection.

When i change the interface-order setting of resolvconf i can manage to ping locally but then the VPN dns isn't working.
Is there any way to get this right using my setup?
so that i can use local dns fine (hostnames) and dns for work fine without having to switch off and on the vpn all the times (very usefull for my imap mail over vpn.)

Thanks,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS & VPN => headache m0rg Linux - Networking 2 02-21-2006 07:26 AM
Connect to vpn server, no DNS specified fatrandy13 Linux - Software 2 12-19-2005 08:08 PM
resolvconf bug? mcd Linux - Networking 2 07-25-2005 09:54 PM
Advice on setting up VPN/LAN DNS rwalkerphl Linux - Networking 2 10-03-2004 12:32 PM
VPN routing /DNS issue cyph3r7 Linux - Networking 1 05-06-2004 09:19 AM


All times are GMT -5. The time now is 06:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration