Android 4.4.2: All traffic is routed through VPN, but I don't want that.

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
antiflu
OpenVpn Newbie
Posts: 2
Joined: Mon Aug 08, 2016 2:25 pm

Android 4.4.2: All traffic is routed through VPN, but I don't want that.

Post by antiflu » Mon Aug 08, 2016 2:31 pm

Hi,

On my server I have disabled the line:

;push "redirect-gateway def1 bypass-dhcp"

Then I have restarted the OpenVPN server and deleted/re-added my VPN connection in the Android App.
Still, my normal Chrome internet traffic is routed through the VPN.
How to disable this? I only want to access the company network, not route all my data through it.

Tom

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Android 4.4.2: All traffic is routed through VPN, but I don't want that.

Post by TinCanTech » Mon Aug 08, 2016 6:57 pm

Make sure you do not have redirect-gateway in your client config file.

antiflu
OpenVpn Newbie
Posts: 2
Joined: Mon Aug 08, 2016 2:25 pm

Re: Android 4.4.2: All traffic is routed through VPN, but I don't want that.

Post by antiflu » Tue Aug 09, 2016 2:34 pm

Hm, it's commented out in my server config file, and in my client config file it's not even there. Is there some way to actively disable it in the config file by something like, 'no-redirect-gateway' ? And is there some info in the OpenVPN Connect app (eg. the log file) that I could watch for, to get more information about why my current routing is misconfigured?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Android 4.4.2: All traffic is routed through VPN, but I don't want that.

Post by TinCanTech » Tue Aug 09, 2016 3:45 pm

Do you have a log option in your server config .. if not See --log in The Manual v23x

Post Reply