Jump to content
Not connected, Your IP: 18.119.125.61
ProfessionalNelson

Network Lock on Android (preventing leaks on android

Recommended Posts

I have been using airvpn on android using the openvpn app.

My problem is, the vpn often cuts out, then my ip address is exposed.

Is there a way to change the vpn setting on an android to force ALL connections through vpn?

Thanks

Share this post


Link to post

First of all: Which app are you using?

Second: There is a "persistent tun device" (OpenVPN for Android) or "seamless tunnel" (OpenVPN Connect) option which keeps the tun interface engaged when the connection to a VPN is lost. More info in the OpenVPN FAQs (iOS because better explanation):

 

Seamless tunnel (requires iOS 8 or higher) — Make a best-effort to keep the tunnel active during pause, resume, and reconnect states. Typically, during VPN pause, resume, or reconnect (for example when transitioning between WiFi and Cellular data), the VPN tunnel may disengage for a short period of time, normally on the order of seconds or less. During this time, network traffic can potentially bypass the tunnel and route directly to the internet. This option can reduce the incidence of packet leakage by keeping the tunnel continuously engaged until it is manually disconnected, even across sleep/wakeup or network reconfiguration events.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

There is an app called Afwall+ 

It's a firewall that uses iptables and it allows you to restrict the access of certain (or all) apps to VPN.

root is needed though, it doesn't work without.

Share this post


Link to post

There is an app called Afwall+ 

It's a firewall that uses iptables and it allows you to restrict the access of certain (or all) apps to VPN.

root is needed though, it doesn't work without.

 

Yes, it exists; though not sure if superfluous or not because persist-tun is a built-in option in OpenVPN.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...