LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-14-2007, 08:38 AM   #1
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Rep: Reputation: 16
openvpn client don't resolve names


hi there,

i'm using openvpn to access the company's network from outside.
when connected, every machine is accessible through it's ip.
within the intranet are several machines, that should also be
accessilbe through their names.
the openvpn-host can access the computers via their names,
the dns is correctly registered in the host's /etc/resolv.conf

as the clients can't, they don't seem to use the dns of the
openvpn-host.

how to solve this problem?

thanks,

toby
 
Old 06-14-2007, 08:48 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well can you do a host command to directly contact a certain dns server over the vpn? do the clients settings really list the dns servers?
 
Old 06-14-2007, 08:54 AM   #3
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Original Poster
Rep: Reputation: 16
no, the host command (for the intranet-part, what concerns the internal dns) does not give a result and the clients don't list any dns for the tunnel-device.
 
Old 06-14-2007, 09:10 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
so can you ping the dns servers? if you can ping the hosts then isn't the dns server just one of these?
 
Old 06-14-2007, 09:48 AM   #5
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Original Poster
Rep: Reputation: 16
i figured out the problem myself:

i pushed the dns-suffix first, then the routes.
as i changed the order (as described in the man-pages)
it worked. openvpn seems to be very sensitive about the
order of config-params

thanks anyway
 
  


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
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
Openvpn client to client routing question soup Linux - Networking 0 02-16-2006 11:13 AM
Cannot resolve names bigd Linux - Networking 1 10-09-2005 12:06 PM
Unable to resolve names Starblade Linux - Networking 1 10-25-2003 02:48 AM
why do my client PCs need to enter the DNS of the ISP to resolve names? help kublador Linux - Networking 4 04-03-2003 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration