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

Verify that all traffic is tunneled? #10

Open
connorgreyparsons opened this issue Jan 20, 2021 · 3 comments
Open

Verify that all traffic is tunneled? #10

connorgreyparsons opened this issue Jan 20, 2021 · 3 comments

Comments

@connorgreyparsons
Copy link

I was able to get this all set up and it appears to be working, but speed tests run on my computer (tethered to the phone's hotspot) are still sitting at right around 5mbps (this is the cap on Visible's hotspot), where speed tests run on the phone itself are much higher.

I'm wondering if there is anyway to verify that this is working. Typically I could check the IP but with it tunneling inside the LAN I'm not sure what to do

@connorgreyparsons
Copy link
Author

Thanks for taking the time.
I've tried this with no luck.

It does connect but still no data usage showing up under termux. Feel like I'm going crazy.

this is the command I'm running:
sshuttle -r $TERMUX_USER@$TERMUX_IP:$TERMUX_PORT -x $TERMUX_IP 0/0 -e 'ssh -i id_rsa'

@hisacro
Copy link

hisacro commented Mar 4, 2021

if you have vpn running on your phone you can check the tunneled traffic, for instace I have wireguard set on my phone (phone has $server_IP) and my pc connected via hotspot (showing $carrier_IP) when I tunnel on pc

sshuttle [email protected]:8022 --exclude 10.0.0.2 0/0

and check my pc's ip, it now shows wireguard $server_IP

Hope the testing make sense, I'll update once I test the cap

edit: it does make data via hotspot as mobile's but it's pointless in my case as my provider doesn't distinguish between mobile data vs hotspot /o\

@mynameistino
Copy link

mynameistino commented May 24, 2022

Thanks for taking the time. I've tried this with no luck.

It does connect but still no data usage showing up under termux. Feel like I'm going crazy.

this is the command I'm running: sshuttle -r $TERMUX_USER@$TERMUX_IP:$TERMUX_PORT -x $TERMUX_IP 0/0 -e 'ssh -i id_rsa'

Were you able to figure it out? I was able to verify that my trafic was NOT tunneling by checking "what is my IP address" on google search. The address that came back was different on my phone compared to my mac. If it was tunneling it would be the same as the termux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants