-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
When usb-tethering blocks connections from tethered computer to the phone #1880
Comments
My guess why it isn't working... Listening sockets won't work if VPN is active unless the app/process (I'm guessing This is a function of both Rethink (which doesn't expose "port forwarding" or equivalent functionality) & Android how VPN APIs (which don't support raw IP sockets or network namespaces to do transparent port forwarding) are setup in Android. |
Yes, it is sshd inside Termux.
Will test this tonight, universal bypass or firewall+DNS bypass?
Local connections using the 192.168.xx.xx address do work through so listening on the socket works. The sshd daemon listens on 0.0.0.0 p8022
|
Excluding termux wroks good enough to make a connection, unfortunately ssh hangs after authentification for some strange reason so I cant fully confirm it is working |
I think this issue could be closed when the need to exclude listening apps is documented. However, it is worth noting that it works out of the box with Netguard so maybe it could be made work like that in RethinkDNS as well? |
NetGuard excludes a bunch of IP ranges when |
Don't have subnet enabled.
|
Just chiming in to say that for me, this doesn't affect a specific program, but everything on the computer. Every connection fails or times out. OS is Fedora 41, pretty much default config I think. Rethink is configured in DNS-only mode. Update: rethink doesn't show dns resolutions in the log. Tethering over wifi sometimes, but rarely, works. |
Somewhat off topic, the remaining problem where ssh connection into the phone hangs after authentification remains unresolved - however the same works perfectly if I use the phone as wifi hotspot. Any idea what is the difference? ifconfig doesn't reveal anything obvious and route doesn't work on Android |
Is your problem connections to the phone or connections to the internet from Fedora? |
Hi, I like to connect my phone by USB to use the tethered internet connection. On the phone I have sshd running and want to connect to that from the computer, however the connection is never established.. the connection attempt just hangs. Turning off RethinkDNS the connection works as expected.
Interestingly ping works fine.
TIA
The text was updated successfully, but these errors were encountered: