I've been able to set up a routed OpenVPN on my VPS running Ubuntu 10.04. I'm able to ping both ways as well as open any website using IP-addresses on the client. Via domain names however, it does not work.
Since I'm fairly new to OpenVPN and Linux for that matter I'm not really sure where to start troubleshooting. As the server is a VPS I don't have access to its local network, but I have pressumed that I should be able to set my server as DNS Server for my VPN Clients? Using it's DNS server as my VPN Clients server. Based on this I tried adding push "dhcp-option DNS 10.x.x.x", but with no luck.
My server side config looks just like the sample config besides that I've included push "redirect-gateway def1"
My client config looks like this,
client
dev tun
proto udp
remote my.server.com 1194
resolv-retry infinite
nobind
user nobody
group nobody
persist-key
persist-tun
ca ca.crt
cert sovos.crt
key sovos.key
comp-lzo
verb 6
Update: I've been able to find out that the server does push out the DNS settings correctly, i.e. the values in resolv.conf change when I connect to the VPN on the client. However I'm still not able to do look-ups even using public DNS servers such as Google's.