Post Reply

SSH reverse tunneling on Android

OP rombad

28th January 2014, 01:06 AM   |  #1  
OP Junior Member
Thanks Meter: 0
10 posts
Join Date:Joined: Feb 2009
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: 6
46 posts
Join Date:Joined: Nov 2010
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes