I use VPN (openvpn) on Ubuntu 13.04. I see the IP-s through VPN correctly. The problem is, although I configure the nameserver in the network manager I still doesn't see the domains.
The exported VPN configuration says:
comp-lzo yes
dev tun
proto udp
nobind
auth-nocache
script-security 2
persist-key
persist-tun
user openvpn
group openvpn
/etc/resolv.conf
says it will be rewritten, so I don't edit it
/etc/network/interfaces
contains only:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
I tried editing:
/etc/dhcp/dhclient.conf
by adding:
interface "eth0" {
prepend domain-name-servers MY.DNS.IP.ADDRESS;
}
But it doesn't work.
How can I solve it?
The OpenVPN server should push appropriate options with dhcp. Just like your router does when you connect over wifi. From my
/etc/openvpn/server.conf
: