Remove All Ads from XDA

SSH reverse tunneling on Android

10 posts
Thanks Meter: 0
By rombad, Junior Member on 28th January 2014, 01:06 AM
Post Reply Email Thread
How to get access to Android (3G connection, no external IP) from the Internet?
If I set up a reverse SSH tunnel to port 22 of Android device:
ssh -f -NT -R 1234:localhost:22
it works fine and I have access to the device through
But if I set up the reverse tunnel to another port:
ssh -f -NT -R 4321:localhost:8080
it doesn't work

Probably this requires an additional tweak on the SSH server


#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# ForceCommand cvs server

But this file is read only. How to change it? Is it a right way? Maybe there is an app to set up a reverse ssh tunnels?
16th March 2014, 03:48 PM |#2  
bangkokguy's Avatar
Flag Budapest
Thanks Meter: 10
What if the service provider does some port filtering?

---------- Post added at 02:48 PM ---------- Previous post was at 02:39 PM ----------

By the way, check this:
Post Reply Subscribe to Thread

reverse ssh tunnel

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes