On Mon, 2008-09-15 at 13:09 +0200, Ahmed Kamal wrote: > I'm already pushing DNS .. I don't believe it works on Linux clients > though! It certainly works with NetworkManager and the NM-openvpn plugin. NM will use the returned DNS servers from the openvpn server if you tell it not to ignore them. When the VPN connection goes away or is disconnected, NM will restore your previous DNS servers from the underlying connection on which the VPN was running. Dan > Take a look at the kind of hacks needed: http://www.phocean.net/?p=12 > > On Mon, Sep 15, 2008 at 1:02 PM, Brett Serkez <bserkez@xxxxxxxxx> > wrote: > 2008/9/14 Ahmed Kamal <email.ahmedkamal@xxxxxxxxxxxxxx>: > > > I have an itch. I connect to work using openvpn. Works > great, except that > > openvpn does not modify resolv.conf to add work's dns > servers (now available > > through vpn). It does that on Windows though! I cannot > expect openvpn or > > (any other application) to simply overwrite /etc/resolv.conf > at will, but > > what is fedora missing to get an elegant solution to this > problem ? > > > You should be able to push DHCP options from the OpenVPN > server: > > http://openvpn.net/index.php/documentation/howto.html#dhcp > > push "dhcp-option DNS 10.66.0.4" > push "dhcp-option DNS 10.66.0.5" > > The client OS shouldn't matter, it should be picking up the > DHCP > options when the OpenVPN client brings up the interface when > it comes > up. > > Brett > > > -- > fedora-devel-list mailing list > fedora-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/fedora-devel-list > > > > -- > fedora-devel-list mailing list > fedora-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/fedora-devel-list -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list