Jump to content
Not connected, Your IP: 54.86.132.30
frisbee

ANSWERED custom directives routing not working on Android

Recommended Posts

Hello, I'm a new user of AirVPN and loving it so far.

I'm trying to setup custom routing on Android with the Eddie app via the Custom directives option.

I tried: push "route whatsmyip.org 255.255.255.255 net_gateway" and it isn't working my ip is showing the VPN one, and I don't see any error in the log.

I also tried: route whatsmyip.org 255.255.255.255 net_gateway but I get an error in the log. This command is working on the Eddie app on Windows.

Is there any way to exclude specific domains from being routed inside the VPN on Android?

I also tried using OpenVPN client (Android), I can connect but the traffic is still routed inside the VPN.

Any idea how to make this works?

The Share button of the Eddie app log doesn't seems to work, so I can't share the log here.

Thanks!

Share this post


Link to post
14 hours ago, frisbee said:

Is there any way to exclude specific domains from being routed inside the VPN on Android?


It only works with IP addresses, and it only ever worked with IP addresses, because packet filters and kernel routing tables only ever work with IP addresses. :)
 
14 hours ago, frisbee said:

The Share button of the Eddie app log doesn't seems to work, so I can't share the log here.


This looks like an issue we had with quite an old Eddie version, but anyway, you can mark all log entries, copy it normally and paste it elsewhere. When doing so, please use the LOG formatting template in the upper left corner of the editor in your browser.

Four simple things:
There's a guide to AirVPN. Before you ask questions, take 30 minutes of your time to go through it.

Amazon IPs are not dangerous here. It's the fallback DNS.
Running TOR exits is discouraged. They're subject to restrictions on the internet and harm all AirVPN users.

Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, you'll be unique among the mass again.

 

XMPP: gigan3rd@xmpp.airvpn.org or join our lounge@conference.xmpp.airvpn.org

Share this post


Link to post
2 hours ago, giganerd said:

It only works with IP addresses, and it only ever worked with IP addresses, because packet filters and kernel routing tables only ever work with IP addresses. :)
 
Thank you for the quick answer. I'm not a pro at all in those sorts of things, but any idea why it works on desktop then? 

Share this post


Link to post
On 6/7/2019 at 5:53 PM, frisbee said:

but any idea why it works on desktop then?


You usually need privileged access to run OpenVPN on PC systems whereas on Android you don't. There the VPNService API is used to push routes and that one accepts numeric IP addresses only.
 
On 6/7/2019 at 3:51 PM, giganerd said:

It only works with IP addresses, and it only ever worked with IP addresses, because packet filters and kernel routing tables only ever work with IP addresses.


Well, the OpenVPN manual outlines that you really can provide a DNS name to the route directive. I think it will only set the route to whatever the IP address was at the time of connection and does not take dynamic changes into account. It probably will work with whatsmyip.com, but will fail with Netflix, Google or Facebook.

Four simple things:
There's a guide to AirVPN. Before you ask questions, take 30 minutes of your time to go through it.

Amazon IPs are not dangerous here. It's the fallback DNS.
Running TOR exits is discouraged. They're subject to restrictions on the internet and harm all AirVPN users.

Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, you'll be unique among the mass again.

 

XMPP: gigan3rd@xmpp.airvpn.org or join our lounge@conference.xmpp.airvpn.org

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...