Page 1 of 1

No internet connection if vpn is connected

Posted: Thu Aug 17, 2017 3:38 pm
by hardy9111
Hello experts,
if I have a vpn connection from android mobile fon to my home server. I have access to all devices in the home network but not to the internet. If I connect my with a windows PC via openVPN client for windows then I have access to all devices in home network AND to internet via home network internet connection.

Could you help me that it works with android to?

Configuration:
openVPN installation from today with the newest version (server: raspberry pi, one client: windows10, one client: cyanogen mod 13 version 12-2016)
Connection
- cyanogenmod mod device (android 6.01) with "openVPN connect"via HSPA
- windows10 PC, openVPN client for windows, with USB-cable on cyanogenmod device and HSPA (openVPN is only active on windows PC)

Is it right that the server installation on rasperry pi is correct if I get a internet connection via windows PC and openVPN?

Thanks for your help
hardy9111

Re: No internet connection if vpn is connected

Posted: Thu Aug 17, 2017 6:43 pm
by TinCanTech
Double check this HOWTO: Routing all client traffic (including web-traffic) through the VPN

Sounds like your iptables is wrong but it could be many other things.

Please see:
HOWTO: Request Help ! {2}