I want to route all the internet traffic of my phone through my VPN.
I configured OpenVPN on my htc Desire with Cyanogenmod 22.214.171.124-bravo through the integrated VPN settings dialog.
When I activate the Redirect-Gateway option, DNS resolution (e.g. google.com) doesn't work anymore. So not like others where the resolution of there local hostnames doesn't work (that wouldn't be a problem for me). The device hast still a connection to the internet (through the VPN) but it can't resolve domain names anymore.
The nameservers look correctly configured (adb shell):
# cat /etc/resolv.conf nameserver 126.96.36.199 nameserver 188.8.131.52
I've also tested the OpenVPN Settings app but as soon as i add 'redirect-gateway' to the openvpn configuration file I get the same problem.
What could cause this problem?