No internet connection if vpn is connected

Post Reply
hardy9111
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 17, 2017 3:20 pm

No internet connection if vpn is connected

Post by hardy9111 » Thu Aug 17, 2017 3:38 pm

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

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 3208
Joined: Fri Jun 03, 2016 1:17 pm

Re: No internet connection if vpn is connected

Post by TinCanTech » Thu Aug 17, 2017 6:43 pm

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}

Post Reply