Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.1k stars 564 forks source link

gnirehtet with a vpn on host device #307

Open GeorgeMixas opened 4 years ago

GeorgeMixas commented 4 years ago

Hello, I would like to know if it's possible to use a VPN on the host windows device and then reverse tether your phone so that it also uses the VPN that your PC does. I have tried doing so with ExpressVPN and it doesn't work, I also tried it with Tuxler and while the internet on the phone works it doesn't use the Tuxler IP but rather the IP the PC had before connecting on Tuxler.

Edit: I managed to get ExpressVPN to work after changing the DNS with the -d flag to match the DNS of the ExpressVPN adapter but I still have no idea how to get Tuxler to work since it doesn't have an adapter like ExpressVPN.

cxspxr commented 3 years ago

@giorgakism1 have you found any solution?

rom1v commented 3 years ago

The gnirehtet relay server on the computer just open TCP and UDP sockets to the internet. If your VPN is correctly enabled/configured, these sockets should use the VPN.