Jump to content
Not connected, Your IP: 216.73.217.95
Sign in to follow this  
0range

ANSWERED share airvpn over android hotspot (no root)

Recommended Posts

hi 👋 
i am used to connect different android, win, mac devices to my LOS rooted fon, hereby sharing mobile data with vpn. there is a toggle in dev options for it.

now i have a new xiaomi fon with hyper os and i cannot find such a setting. how can i share the mobile vpn connection via wifi hotspot, usb and bluetooth tethering?

Share this post


Link to post
@0range

Hello!

The option you used on LineageOS is a LineageOS addition, not a feature of stock Android. On stock Android, and on systems based on it such as HyperOS, a VPN app works through the Android VpnService API, which applies the VPN only to traffic generated by apps running on the phone itself. Traffic coming from tethered devices (Wi-Fi hotspot, USB or Bluetooth) is forwarded by the system directly to the mobile data connection and never enters the VPN interface. Changing that routing requires root, so no VPN app can do it on a non-rooted phone. We are not aware of an equivalent setting in HyperOS.

Please note that this means that, while the VPN is connected on the phone, the devices connected to its hotspot are NOT protected: their traffic goes out with the IP address of your mobile operator.

Possible solutions without root:
1. Run AirVPN on each device. Eddie is available for Windows, macOS, Linux and Android, and you can also use OpenVPN or WireGuard configuration files generated by our Config Generator. Connect the devices to the phone hotspot as usual, then connect each of them to AirVPN. Your account allows up to 5 simultaneous connections. This is the recommended solution, because every device gets full protection.

2. Use a travel router with a VPN client (for example an OpenWrt based router running WireGuard) connected to the phone through Wi-Fi or USB tethering, and connect your devices to the router. All the devices behind the router then share a single VPN connection.

Kind regards
 

Share this post


Link to post

thanx for clarifying this. of course its possible using eddie on each device. i just noticed some apps would show an error because of the detected vpn. using the same vpn connection routed via the lineage device, there was no error. 

also vpn within vpn seems to slow performance. 

finally: sharing my internet with strangers while travelling without vpn makes me as provider subject to any trouble the stranger might have caused.

also i tried several apps like Android Proxy Server, VPN hotspot+Proxy and every proxy without success.

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
Sign in to follow this  

×
×
  • Create New...