Successful VPN connection to DD-WRT router but no internet

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Locked
azze
OpenVpn Newbie
Posts: 2
Joined: Sat Sep 21, 2013 9:40 am

Successful VPN connection to DD-WRT router but no internet

Post by azze » Sat Sep 21, 2013 3:01 pm

Hello!

I already found a thread reagrding this topic in the iOS section where I realized later that it was just iOS related and no general discussion when I answered to that topic:

topic12708.html

Since I don't use an iPhone I thought it might make sense to add a thread to the Android section because it could be a problem with the OpenVPN client in Android as well. Just to give a short explanation what I did:
  • 1. I'm using a Linksys WRT54GL router flashed with the latest build number v24 preSP2 [Beta] build 14896 vpn generic image
    2. I setup OpenVPN as described in this wiki article: http://www.dd-wrt.ca/wiki/index.php/VPN ... %29_v24%2B
    3. I created a .ovpn file for my Android device (Samsung Galaxy S3 with cyanogenmod 10.1RC1) to connect to my router
    4. I can connect to my router without any problems. I can even ping my local PC. But I don't get an internet connection with my Android device.
    5. Regarding the post from shadoweyez in the iOS thread I added "iptables -t nat -A POSTROUTING -s 192.168.66.0/24 -o tun0 -j MASQUERADE" to my firewall rules. 192.168.0.66/24 is my VPN network and 192.168.1.0/24 my local network. But this didn't fix it either.
My goal is to use OpenVPN to connect to my router for getting a SECURE internet environment while using an open wifi within a internet cafe or something. Searching on the internet showed me several people have issues with this but there was no real answer to this problem. Your help is much appreciated! Thank you!

Locked