[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] /etc/resolv.conf problems and fixes



This is my solution for managing /etc/resolv.conf when using
openvpn in parallel with dhcp on ethernet.  

The problem is that I need to add a DNS server from the VPN
connection to whatever my normal network gives me. This
is fine until the normal DHCP renews the subscription and
overwrites /etc/resolv.conf. removing the VPN-DNS in the
process.

My solution (dhclient-based) is here:
http://rosenberg.homelinux.net/wordpress/index.php?p=22

Maybe other solutions exists, if so I'd like to hear about them. I'd
like to see this fixed.

This is not really openvpn specific in terms of the problem or the
solution, but I've only had the problem with VPN's, hence the
post here.

Hope this is useful to someone.

-- robin

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users