TAP on Android
-
- OpenVPN Power User
- Posts: 108
- Joined: Wed Oct 19, 2011 1:19 am
TAP on Android
a new OpenVPN client has emerged in the google play store, and it claims to support TAP without rooting your android device. is this legit, and is there any possibility of this functionality making its way into the offical openvpn client for android?
https://play.google.com/store/apps/deta ... eb.openvpn
...
Now with IPv4 tap device support without root permission!
https://play.google.com/store/apps/deta ... eb.openvpn
...
Now with IPv4 tap device support without root permission!
-
- OpenVPN Power User
- Posts: 108
- Joined: Wed Oct 19, 2011 1:19 am
Re: TAP on Android
can this be confirmed as possible or as snake oil?
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: TAP on Android
Hello brendan,
There is nothing new about this. In Android it is nowadays possible to use the built in VPN API which doesn't require root rights to add it. I don't know this 'new' client but it offers nothing significantly different from the official OpenVPN clients for Android that I can see.
There is nothing new about this. In Android it is nowadays possible to use the built in VPN API which doesn't require root rights to add it. I don't know this 'new' client but it offers nothing significantly different from the official OpenVPN clients for Android that I can see.
-
- OpenVPN Power User
- Posts: 108
- Joined: Wed Oct 19, 2011 1:19 am
Re: TAP on Android
the point of my question is the use of a TAP interface on a device that has not been rooted. i have the official openvpn client running on android and cannot use TAP. i have had to stand up a second instance of openvpn on my box and put a TUN config together. i want to use only TAP for all my clients, and i am looking to see if that is now possible on android.
-
- OpenVPN User
- Posts: 25
- Joined: Wed Nov 05, 2014 2:58 am
Re: TAP on Android
OP have you tried it? I certainly hope it works. I would take TAP with only root. 

-
- OpenVPN Power User
- Posts: 108
- Joined: Wed Oct 19, 2011 1:19 am
Re: TAP on Android
i have not, but my brother was interested in it. he may be running it. i will be seeing him later and will ask if he did buy the client. i have run 3rd party openvpn clients that require rooting the device, and did allow for TAP interfaces, but since i have not rooted my current device and actually like the official client, i was hoping to find out if TAP was possible.
-
- OpenVPN User
- Posts: 25
- Joined: Wed Nov 05, 2014 2:58 am
Re: TAP on Android
What 3rd party apps did you run that required root?brendan wrote:i have not, but my brother was interested in it. he may be running it. i will be seeing him later and will ask if he did buy the client. i have run 3rd party openvpn clients that require rooting the device, and did allow for TAP interfaces, but since i have not rooted my current device and actually like the official client, i was hoping to find out if TAP was possible.
-
- OpenVPN Power User
- Posts: 108
- Joined: Wed Oct 19, 2011 1:19 am
Re: TAP on Android
i talked to my brother, and he did buy the app from the the play store, and it does work. how the app is doing TAP without being rooted, i dont know.
as for the 3rd party app i ran, it was OpenVPN Installer and OpenVPN Settings by Friedrich Schäuffelhut. i ran these on a rooted phone and could use the TAP interface included in the kernel of the modded ROM.
as for the 3rd party app i ran, it was OpenVPN Installer and OpenVPN Settings by Friedrich Schäuffelhut. i ran these on a rooted phone and could use the TAP interface included in the kernel of the modded ROM.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sun Aug 19, 2018 7:17 pm
Re: TAP on Android
Unfortunatelly, it looks like OpenVPN Installer app from Friedrich Schäuffelhut does not work now.
1. Installer fails since mount command syntax has changed in the recent Android versions (we need instead of );
2. If copied manually, openvpn binary cannot be run, Android blames that it was compiled without option.
So until someone compiles openvpn with -fPIC for Android we only have one possbility - paid OpenVPN Client app which really can connect to TAP OpenVPN services even without root.
1. Installer fails since mount command syntax has changed in the recent Android versions (we need
Code: Select all
mount -o rw,remount
Code: Select all
mount -o remount,rw
2. If copied manually, openvpn binary cannot be run, Android blames that it was compiled without
Code: Select all
-fPIC
So until someone compiles openvpn with -fPIC for Android we only have one possbility - paid OpenVPN Client app which really can connect to TAP OpenVPN services even without root.
-
- OpenVpn Newbie
- Posts: 17
- Joined: Mon May 14, 2012 1:15 pm
Re: TAP on Android
You need PIE instead of PIC. I have some binaries someone wanted for an old rooted device:
http://plai.de/android/2018-06-13-stand ... vpn.tar.gz
and
http://plai.de/android/2018-06-14-stand ... vpn.tar.gz
As for TAP without root, it is possible to write an emulator for it (see also my FAQ from OpenVPN for Android) but so far I haven't had the motivation to do it (no personal need and no one wanted to throw money at me to implement one
)
http://plai.de/android/2018-06-13-stand ... vpn.tar.gz
and
http://plai.de/android/2018-06-14-stand ... vpn.tar.gz
As for TAP without root, it is possible to write an emulator for it (see also my FAQ from OpenVPN for Android) but so far I haven't had the motivation to do it (no personal need and no one wanted to throw money at me to implement one

-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Oct 09, 2018 6:49 am
Re: TAP on Android
is there any word on if OpenVPN is going to add TAP? This should now be possible with 8.0 My company does use a TAP VPN with another private provider and it works on both of my android phones.
-
- OpenVpn Newbie
- Posts: 17
- Joined: Mon May 14, 2012 1:15 pm
Re: TAP on Android
I don't see anything in the API that would allow this. Where did you get that Information that this should be possible?
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Oct 26, 2018 11:36 pm
Re: TAP on Android
any update about this?
- ordex
- OpenVPN Inc.
- Posts: 444
- Joined: Wed Dec 28, 2016 2:32 am
- Location: IRC #openvpn-devel @ libera.chat
Re: TAP on Android
not sure what update to expect.
As plaisthos said:
andI don't see anything in the API that would allow this. Where did you get that Information that this should be possible?
As for TAP without root, it is possible to write an emulator for it (see also my FAQ from OpenVPN for Android) but so far I haven't had the motivation to do it (no personal need and no one wanted to throw money at me to implement one)
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sun Aug 19, 2018 7:17 pm
Re: TAP on Android
As I've said above, for now the only option that works on Adnroid is a "https://play.google.com/store/apps/details?id=it.colucciweb.vpnclientpro" app (the name of app was changed) which can connect to TAP servers even without root.
It utilizes the approach plaisthos mentioned and emulates TAP above standard Android VPN API.
The app itself is free, but possibility to connect to TAP is a paid option.
Somewhere on the Net I've seen a pirated version of this app, which claims to be free, but I didn't try it and cannot say if it is really cracked or just a virus.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Wed Jan 20, 2021 10:21 pm
Re: TAP on Android
Can someone make it work?