FORUMS
Remove All Ads from XDA

[APP][root][5.0+] VPN Hotspot: VPN tethering/Wi-Fi repeater (open source)

302 posts
Thanks Meter: 104
 
Post Reply Email Thread
24th April 2018, 12:19 PM |#11  
frozonecom's Avatar
Senior Member
Flag Tokyo
Thanks Meter: 49
 
More
Hello op, I am using this app on google pixel 2 to tether my vpn connection to my win10 laptop. However, my laptop shows that I still have no internet access. Can you please help me?
 
 
24th April 2018, 05:16 PM |#12  
Mygod Studio's Avatar
OP Senior Member
Flag Suzhou
Thanks Meter: 104
 
Donate to Me
More
Quote:
Originally Posted by fxsheep

Well ,my device is Xiaomi MI 6, Android 8.1.0 .
I mean the hotspot will disable automatically if I switch to other apps.

Quote:
Originally Posted by frozonecom

Hello op, I am using this app on google pixel 2 to tether my vpn connection to my win10 laptop. However, my laptop shows that I still have no internet access. Can you please help me?

You could export debug information and post it here / create an issue at GitHub / send it to me so that I could have some idea what's going on. Also it would be helpful to know what VPN app you're using if there's one.

Quote:
Originally Posted by azndan2

OP, I'm using this app now on Verizon with private internet access VPN . It's so convenient. Thanks for making a great app. I hope that you continue to support it as this is really helpful in taking back our right to do what we please with our internet service.

---------- Post added at 03:28 PM ---------- Previous post was at 03:27 PM ----------

I would be glad to pay for a premium version to support you.

Thanks. I'm not bothered to go make a premium version but I am very happy to accept donations.
The Following User Says Thank You to Mygod Studio For This Useful Post: [ View ] Gift Mygod Studio Ad-Free
24th April 2018, 05:17 PM |#13  
Mygod Studio's Avatar
OP Senior Member
Flag Suzhou
Thanks Meter: 104
 
Donate to Me
More
Oops duplicate post.
26th April 2018, 12:32 AM |#14  
frozonecom's Avatar
Senior Member
Flag Tokyo
Thanks Meter: 49
 
More
Quote:
Originally Posted by Mygod Studio

You could export debug information and post it here / create an issue at GitHub / send it to me so that I could have some idea what's going on. Also it would be helpful to know what VPN app you're using if there's one.



Thanks. I'm not bothered to go make a premium version but I am very happy to accept donations.

Hello. after trying to connect to the wifi hotspot created by my pixel 2. Still no internet. I'm using the app 'HTTP Injector' for VPN services.

Ill try to post the debug log when I get on my laptop with internet. Till then,
27th April 2018, 05:46 PM |#15  
Senior Member
Thanks Meter: 9
 
More
Can I have a proper guide? My friend cant connect when i switch on vpn? (solid vpn) and, this app dont help me.
The Following User Says Thank You to enga018 For This Useful Post: [ View ] Gift enga018 Ad-Free
5th May 2018, 12:58 PM |#16  
blambo's Avatar
Senior Member
Thanks Meter: 70
 
More
This is an incredible app. No one has been able to do this before. And many many have tried. Thank you so very much for this.

It's real for real 'travel router' app now on my phone, a WiFi Repeater and Hotspot combined that supports WISP, and tethers OpenConnect VPN. Hello, most routers on the market today do not have any kind of OpenConnect client interface.
Did somebody in the back of the room just say "You're kidding! You can use this as a router and slip all of your devices through the GFW of China via secure OpenConnect SSL, TLS 1.2"?
Yes, yes indeed, you can. HUZZAH!

This is a HUGE app. The best of the best. Again, my deepest thanks.
The Following User Says Thank You to blambo For This Useful Post: [ View ] Gift blambo Ad-Free
9th May 2018, 03:59 PM |#17  
Junior Member
Flag David Chiriqui
Thanks Meter: 3
 
Donate to Me
More
How could I use it without root?
I was thinking about making commands similar to a structure like
adb shell pm grant [package / app name] android.permission.WRITE_SECURE_SETTINGS
But in that case what would be the permissions to enable by adb.
The Following User Says Thank You to Nodierg1 For This Useful Post: [ View ] Gift Nodierg1 Ad-Free
10th May 2018, 08:12 PM |#18  
Mygod Studio's Avatar
OP Senior Member
Flag Suzhou
Thanks Meter: 104
 
Donate to Me
More
Quote:
Originally Posted by Nodierg1

How could I use it without root?
I was thinking about making commands similar to a structure like
adb shell pm grant [package / app name] android.permission.WRITE_SECURE_SETTINGS
But in that case what would be the permissions to enable by adb.

The most important part that requires root is fiddling with iptables, which Android of course wouldn't expose any API for you to do, and the only way to do this afaic is with root.

Viewing tethered clients should still work for non-root devices though.
The Following User Says Thank You to Mygod Studio For This Useful Post: [ View ] Gift Mygod Studio Ad-Free
12th May 2018, 05:34 PM |#19  
Member
Thanks Meter: 0
 
More
This is what I have observed and is really confusing to me:

1) Enable native WiFi hotspot and start an OpenVPN connection on my Nexus 5X running Android 8.0 with root on Sprint
2) Enable wlan0 interface in VPN Hotspot APP
3) Running http://www.whatismyip.net in the Chrome browser on my Nexus 5X, and get two different IPs when VPN turns on / off (IPv4 addr for VPN server, IPv6 addr for Sprint LTE)
4) Connect my PC to the WiFi hotspot provided by N5X, run http://www.whatismyip.net in the Chrome browser of PC, and always get the third IP which is different than two IPs I see on the N5X, no matter VPN Hotspot turns on / off. The funny thing is that if I run speed test on my PC client, I can always see the speed limit enforced by the VPN server when VPN hotspot is on, but the IP address checked by "whatismyip" is not my VPN server's IP.

I'm guessing Android 8.0 handles speed test traffic differently so it can be routed through VPN hotspot while web traffic cannot?

Update:
checking client IP on mxtoolbox.com/whatismyip actually gives me my VPN server's IP when VPN hotspot is on. Very bizarre...
13th May 2018, 08:06 AM |#20  
blambo's Avatar
Senior Member
Thanks Meter: 70
 
More
Quote:
Originally Posted by TopGun2000

"This is what I have observed and is really confusing to me."

Long version:
  • In primary device WiFi settings, set up the native hotspot, (SSID & pass). Keep hotspot off, exit settings. Bring up the 'VPN Hotspot' app, click on, and activate 'Tethering', then 'wlan0'.
  • NOW connect all of your secondary external devices to the primary tether and receive an IP address.
    THEN connect to your VPN on the primary . All secondary connected devices will be tunneled through the primary's VPN.
  • If you disconnect a secondary, then want to reconnect the secondary to the primary's hotspot, you will have to disable the VPN on primary, then connect secondary, then reactivate the VPN on the primary.

Short version:

Connect secondary devices, including Windows machines, to primary hotspot, receive IP address before you activate the VPN. (AFAIK this is true of all VPN tethering apps.)

It may sound tedious, but really it's not. After you do it once, you'll get it. Super easy.

Note: Same drill in 'Repeater' mode.
The Following 2 Users Say Thank You to blambo For This Useful Post: [ View ] Gift blambo Ad-Free
13th May 2018, 04:15 PM |#21  
Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by blambo

Long version:

  • In primary device WiFi settings, set up the native hotspot, (SSID & pass). Keep hotspot off, exit settings. Bring up the 'VPN Hotspot' app, click on, and activate 'Tethering', then 'wlan0'.
  • NOW connect all of your secondary external devices to the primary tether and receive an IP address.
    THEN connect to your VPN on the primary . All secondary connected devices will be tunneled through the primary's VPN.
  • If you disconnect a secondary, then want to reconnect the secondary to the primary's hotspot, you will have to disable the VPN on primary, then connect secondary, then reactivate the VPN on the primary.

Short version:

Connect secondary devices, including Windows machines, to primary hotspot, receive IP address before you activate the VPN. (AFAIK this is true of all VPN tethering apps.)

It may sound tedious, but really it's not. After you do it once, you'll get it. Super easy.

Note: Same drill in 'Repeater' mode.

Thank you! Here is what I've found out.

My VPN server has an IPv4 address. Following your instructions, after being connected successfully, whatismyip.com shows that my secondary device's IPv4 addr is the same as my VPN server (great!), however its IPv6 addr is from Sprint. If I visit whatismyip.com directly on the primary device, it shows an IPv4 addr same as VPN server but no IPv6 addr detected. Maybe IPv6 traffic isn't re-routed properly like IPv4 traffic through VPN tethering?
Post Reply Subscribe to Thread

Tags
hotspot, tethering, vpn, wifi-direct

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes