Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Working on Windows #7

Open
DoNotResuscitate opened this issue Oct 12, 2020 · 2 comments
Open

Not Working on Windows #7

DoNotResuscitate opened this issue Oct 12, 2020 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@DoNotResuscitate
Copy link

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.

@SergioaAndres
Copy link

SergioaAndres commented Oct 18, 2020

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.

@RiFi2k RiFi2k added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 23, 2020
@RiFi2k
Copy link
Owner

RiFi2k commented Oct 23, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants