unlimited-tethering icon indicating copy to clipboard operation
unlimited-tethering copied to clipboard

Not Working on Windows

Open DoNotResuscitate opened this issue 4 years ago • 2 comments

Is there any way to verify that traffic is going through the proxy via VM? I have Windows 10 desktop USB tethered to phone, sshed into phone, have VM running sshuttle, and added the route. But it seems all traffic is being registered by the tethering app, not Termux.

DoNotResuscitate avatar Oct 12 '20 08:10 DoNotResuscitate

You can run ssh server in debug mode and you will see the details for the data sent through the tunnel: sshd -D -dd

You must delete the default route created once you connect to the AP (Wi-Fi or USB tethering) and add the default gateway route to the VM:

route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 <VM_IP> IF <Interface>

If you don't delete the other route, it will have the lowest metric and the route to the VM will not be used.

SergioaAndres avatar Oct 18 '20 05:10 SergioaAndres

@SergioaAndres if you make a pull request adding that to the README, I'll approve and merge it.

RiFi2k avatar Oct 23 '20 06:10 RiFi2k