Skip to main content

ImI'm trying to exclude certain apps from using the VPN connection that is created on android so that those apps make a direct/proxy connection rather than through the VPN server. I use OpenVPN for Android (supports IP exclusions) and proxydroid (a proxy wrapper/proxifier app).

When iI looked up, it says most of the VPNs supports an IP/CIDR/domain based routing rather than application specific routing. And also certain apps can be forced through VPN by using a virtual machine(running VPN inside VM) based solution while the rest of apps make a direct connection. But iI am not looking for a virtual machine based solution. I also found two other methods to force only certain apps through the VPN  :-
Method

Method 1) Configure and use a proxy at the other end of the VPN connection. Configure the client-side applications to use the proxy. Method

Method 2) Add another local IP to your network interface and bind all applications that need to be sent strictly through the VPN to this interface. On linuxLinux, the use of the 'ip route' and 'ip rule' commands will allow you to define additional non-default routing tables and map to them based on the source address  .

How do iI use these methods on Android?I I am thinking of binding a particular app to a particular ipIP and port using proxydroid and then use the force binding method. How do iI use this force binding method on androidAndroid?

If itsit's not possible through that method, is there any other method (Suchsuch as split tunneling)?

Im trying to exclude certain apps from using the VPN connection that is created on android so that those apps make a direct/proxy connection rather than through the VPN server. I use OpenVPN for Android (supports IP exclusions) and proxydroid (a proxy wrapper/proxifier app).

When i looked up, it says most of the VPNs supports an IP/CIDR/domain based routing rather than application specific routing. And also certain apps can be forced through VPN by using a virtual machine(running VPN inside VM) based solution while the rest of apps make a direct connection. But i am not looking for a virtual machine based solution. I also found two other methods to force only certain apps through the VPN  :-
Method 1) Configure and use a proxy at the other end of the VPN connection. Configure the client-side applications to use the proxy. Method 2) Add another local IP to your network interface and bind all applications that need to be sent strictly through the VPN to this interface. On linux, the use of the 'ip route' and 'ip rule' commands will allow you to define additional non-default routing tables and map to them based on the source address  .

How do i use these methods on Android?I am thinking of binding a particular app to a particular ip and port using proxydroid and then use the force binding method. How do i use this force binding method on android?

If its not possible through that method, is there any other method (Such as split tunneling)?

I'm trying to exclude certain apps from using the VPN connection that is created on android so that those apps make a direct/proxy connection rather than through the VPN server. I use OpenVPN for Android (supports IP exclusions) and proxydroid (a proxy wrapper/proxifier app).

When I looked up, it says most of the VPNs supports an IP/CIDR/domain based routing rather than application specific routing. And also certain apps can be forced through VPN by using a virtual machine(running VPN inside VM) based solution while the rest of apps make a direct connection. But I am not looking for a virtual machine based solution. I also found two other methods to force only certain apps through the VPN:

Method 1) Configure and use a proxy at the other end of the VPN connection. Configure the client-side applications to use the proxy.

Method 2) Add another local IP to your network interface and bind all applications that need to be sent strictly through the VPN to this interface. On Linux, the use of the 'ip route' and 'ip rule' commands will allow you to define additional non-default routing tables and map to them based on the source address.

How do I use these methods on Android? I am thinking of binding a particular app to a particular IP and port using proxydroid and then use the force binding method. How do I use this force binding method on Android?

If it's not possible through that method, is there any other method (such as split tunneling)?

Bumped by Community user
Bumped by Community user
Bumped by Community user
added 6 characters in body
Source Link

Im trying to exclude certain apps from using the VPN connection that is created on android so that those apps make a direct/proxy connection rather than through the VPN server. I use OpenVPN for Android (supports IP exclusions) and proxydroid (a proxy wrapper/proxifier app).

When i looked up, it says most of the VPNs supports an IP/CIDR/domain based routing rather than application specific routing. And also certain apps can be forced through VPN by using a virtual machine(running VPN inside VM) based solution while the rest of apps make a direct connection. But i am not looking for a virtual machine based solution. I also found two other methods to force only certain apps through the VPN :-
Method 1) Configure and use a proxy at the other end of the VPN connection. Configure the client-side applications to use the proxy. Method 2) Add another local IP to your network interface and bind all applications that need to be sent strictly through the VPN to this interface. On linux, the use of the 'ip route' and 'ip rule' commands will allow you to define additional non-default routing tables and map to them based on the source address .

How do i use these methods on Android?I am thinking of binding a particular app to a particular ip and port using proxydroid and then use the force binding method. How do i use this force binding method on android?

If its not possible through that method, is there any other method (Such as split tunneling)?

Im trying to exclude certain apps from using the VPN connection that is created on android so that those apps make a direct connection rather than through the VPN server. I use OpenVPN for Android (supports IP exclusions) and proxydroid (a proxy wrapper/proxifier app).

When i looked up, it says most of the VPNs supports an IP/CIDR/domain based routing rather than application specific routing. And also certain apps can be forced through VPN by using a virtual machine(running VPN inside VM) based solution while the rest of apps make a direct connection. But i am not looking for a virtual machine based solution. I also found two other methods to force only certain apps through the VPN :-
Method 1) Configure and use a proxy at the other end of the VPN connection. Configure the client-side applications to use the proxy. Method 2) Add another local IP to your network interface and bind all applications that need to be sent strictly through the VPN to this interface. On linux, the use of the 'ip route' and 'ip rule' commands will allow you to define additional non-default routing tables and map to them based on the source address .

How do i use these methods on Android?I am thinking of binding a particular app to a particular ip and port using proxydroid and then use the force binding method. How do i use this force binding method on android?

If its not possible through that method, is there any other method (Such as split tunneling)?

Im trying to exclude certain apps from using the VPN connection that is created on android so that those apps make a direct/proxy connection rather than through the VPN server. I use OpenVPN for Android (supports IP exclusions) and proxydroid (a proxy wrapper/proxifier app).

When i looked up, it says most of the VPNs supports an IP/CIDR/domain based routing rather than application specific routing. And also certain apps can be forced through VPN by using a virtual machine(running VPN inside VM) based solution while the rest of apps make a direct connection. But i am not looking for a virtual machine based solution. I also found two other methods to force only certain apps through the VPN :-
Method 1) Configure and use a proxy at the other end of the VPN connection. Configure the client-side applications to use the proxy. Method 2) Add another local IP to your network interface and bind all applications that need to be sent strictly through the VPN to this interface. On linux, the use of the 'ip route' and 'ip rule' commands will allow you to define additional non-default routing tables and map to them based on the source address .

How do i use these methods on Android?I am thinking of binding a particular app to a particular ip and port using proxydroid and then use the force binding method. How do i use this force binding method on android?

If its not possible through that method, is there any other method (Such as split tunneling)?

deleted 195 characters in body
Source Link

Im trying to exclude certain apps from using the VPN connection that is created on android so that those apps make a direct connection rather than through the VPN server. I use OpenVPN for Android (supports IP exclusions) and proxydroid (a proxy wrapper/proxifier app).

When i looked up, it says most of the VPNs supports an IP/CIDR/domain based routing rather than application specific routing. And also certain apps can be forced through VPN by using a virtual machine(running VPN inside VM) based solution while the rest of apps make a direct connection. But i am not looking for a virtual machine based solution. I also found two other methods to force only certain apps through the VPN :-
Method 1) Configure and use a proxy at the other end of the VPN connection. Configure the client-side applications to use the proxy. Method 2) Add another local IP to your network interface and bind all applications that need to be sent strictly through the VPN to this interface. On linux, the use of the 'ip route' and 'ip rule' commands will allow you to define additional non-default routing tables and map to them based on the source address .

How do i douse these methods on Android?I am thinking of binding a particular app to a particular interface (ipip and port) using proxydroid and then allow this interface to communicate with the internet ( at the same time i can exclude it inuse the VPN app since it supports IP based routing) force binding method.I have little knowledge on how to How do i use this 'force binding' technique though. Can someone enlighten me on this force binding method on android?

If its not possible through that method, is there any other method (Such as split tunneling  )  ?

Im trying to exclude certain apps from using the VPN connection that is created on android so that those apps make a direct connection rather than through the VPN server. I use OpenVPN for Android (supports IP exclusions) and proxydroid (a proxy wrapper/proxifier app).

When i looked up, it says most of the VPNs supports an IP/CIDR/domain based routing rather than application specific routing. And also certain apps can be forced through VPN by using a virtual machine(running VPN inside VM) based solution while the rest of apps make a direct connection. But i am not looking for a virtual machine based solution. I also found two other methods to force only certain apps through the VPN :-
Method 1) Configure and use a proxy at the other end of the VPN connection. Configure the client-side applications to use the proxy. Method 2) Add another local IP to your network interface and bind all applications that need to be sent strictly through the VPN to this interface. On linux, the use of the 'ip route' and 'ip rule' commands will allow you to define additional non-default routing tables and map to them based on the source address .

How do i do these methods on Android?I am thinking of binding a particular app to a particular interface (ip and port) using proxydroid and then allow this interface to communicate with the internet ( at the same time i can exclude it in the VPN app since it supports IP based routing) .I have little knowledge on how to use this 'force binding' technique though. Can someone enlighten me on this force binding method?

If its not possible through that method, is there any other method (Such as split tunneling  )  ?

Im trying to exclude certain apps from using the VPN connection that is created on android so that those apps make a direct connection rather than through the VPN server. I use OpenVPN for Android (supports IP exclusions) and proxydroid (a proxy wrapper/proxifier app).

When i looked up, it says most of the VPNs supports an IP/CIDR/domain based routing rather than application specific routing. And also certain apps can be forced through VPN by using a virtual machine(running VPN inside VM) based solution while the rest of apps make a direct connection. But i am not looking for a virtual machine based solution. I also found two other methods to force only certain apps through the VPN :-
Method 1) Configure and use a proxy at the other end of the VPN connection. Configure the client-side applications to use the proxy. Method 2) Add another local IP to your network interface and bind all applications that need to be sent strictly through the VPN to this interface. On linux, the use of the 'ip route' and 'ip rule' commands will allow you to define additional non-default routing tables and map to them based on the source address .

How do i use these methods on Android?I am thinking of binding a particular app to a particular ip and port using proxydroid and then use the force binding method. How do i use this force binding method on android?

If its not possible through that method, is there any other method (Such as split tunneling)?

deleted 136 characters in body
Source Link
Loading
deleted 43 characters in body; edited title
Source Link
Loading
Source Link
Loading