- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Help CISCO VPN Client changes my resolv.conf
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2003 11:31 AM
тАО07-02-2003 11:31 AM
I have a serious problem.
I've installed CISCO vpnclient-linux-3.7.3.A-k9
at linux SuSE 8.1
It's working, but after computer restart
the VPN Client changes all the time resolv.conf
and put there its DNS Server.
how can I prevent that?
under:
/etc/sysconfig/network/config
I've changed to:
MODIFY_RESOLV_CONF_DYNAMICALLY="no"
MODIFY_NAMED_CONF_DYNAMICALLY="no"
but it doesn't help !
My resolv.conf looks:
nameserver 127.0.0.1
search localhost
and I don't want any changes.
Kindly Regards
Chris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2003 07:21 PM
тАО07-02-2003 07:21 PM
SolutionUnless you local server resolves every single domain on the Internet.
One of the way VPN's work is they resolve the hostname or IP address of an incoming client with DNS. Some domains are let in, some aren't. Some IP's are trusted, some are not.
In order to let the VPN works the way it wants to you need a little more in /etc/resolv.conf
You need an IP adress in there that is a server that will resolve. That can be another internal server which is trusted and resolves the part of the Internet or Intranet that you care about.
If this server is the primary DNS for your organization you should be okay.
I don't think it degrades security to have a valid DNS server in /etc/resolv.conf
As far as my small understanding of VPN goes, it may be a requirement.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 10:33 AM
тАО07-15-2003 10:33 AM
Re: Help CISCO VPN Client changes my resolv.conf
If you want to prevent /etc/resolv.conf from being changed, use the following:
chattr +i /etc/resolv.conf
This will lock the file an render it unchangeable until chattr -i is used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 04:07 PM
тАО07-15-2003 04:07 PM
Re: Help CISCO VPN Client changes my resolv.conf
All of those configuration directives can be over-ridden by the server you connect to.
In all seriousness, make a wrapper script. When the vpnclient finishes running, copy a 'good' resolv.conf back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 07:25 PM
тАО07-15-2003 07:25 PM
Re: Help CISCO VPN Client changes my resolv.conf
These are the default permissions on resolv.conf
They should remain that way.
You may need to be root user to install it, but right after, you can restore the file.
To use it on the Linux machine, you certainly should NOT be root user. You should not do anything as that user except configure the machine.
When you actually use the product, you are a regular user. As a regular user you CANT modify resolv.conf if you have the permissions set right.
I still think you need a valid DNS server in resolv.conf This is an Internet product and you need to be able to negotiate the Internet via names to have things such as web hostnames resolve to IP addresses.
This should be a change you make.
Now perhaps this Cisco VPN product is being used for inbound connections. If its being used for inbound connections and requires root user its a piece of junk, its insecure, its risking your network and system and should simply not be used.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 07:40 PM
тАО07-15-2003 07:40 PM
Re: Help CISCO VPN Client changes my resolv.conf
If that's the case, then any resolv.conf setting is uselses anyway.
*whee!* Welcome to the wonderful (or is that horrible) world of Cisco VPN! :)
The client side stuff also inserts a kernel module.
It is secure (to the point that I'm not aware of any exploits), but it's painful to use.
We only use it for one client as they don't have anything else we can use. Bummer.. Gimmie SSH any day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 07:59 PM
тАО07-15-2003 07:59 PM
Re: Help CISCO VPN Client changes my resolv.conf
your VPN client is running with DHCP enabled either within VPN vclient itself or by linux . Please try to disable DHCP use static IP address and get back with results.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2003 08:00 PM
тАО07-15-2003 08:00 PM
Re: Help CISCO VPN Client changes my resolv.conf
your VPN client is running with DHCP enabled either within VPN vclient itself or by linux . Please try to disable DHCP use static IP address and get back with results.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 11:25 AM
тАО01-13-2004 11:25 AM
Re: Help CISCO VPN Client changes my resolv.conf
I've setup the server again with ext3
and NOT reiserfs system.
# chattr +i /etc/resolv.conf
and my resolv.conf will be never changed !
regards
chris