[LUGSB] SSH through routers?

Michael Hrivnak mhrivnak at triad.rr.com
Wed Jul 20 13:17:52 EDT 2005


In short, no.

But, there are other options, such as some sort of a VPN.  This requires 
access to some other system on the internet, which I'll call somewhere.com.  
>From your machine:

ssh -R 2222:somewhere.com:22

Leave that connection open.

Then from any system on the internet, ssh to the remote machine on port 2222, 
and it should forward the connection through the previously-established ssh 
tunnel to your machine.

Note that port 2222 was picked arbitrarily.

A more elaborate and comprehensive solution would be something like OpenVPN, 
but that may be a bit much for your situation.

Michael

On Wednesday 20 July 2005 12:59 pm, cbwright wrote:
> Hello--
>
> I'm currently running a Linux box behind a router to which I don't have
> administrative access--and the only person who might doesn't have
> technical expertise. (Nor do I, but, well...aphid versus amoeba, sort of
> thing.) Is there a way (without IP or port forwarding; I can't enable
> those) to SSH into my computer around the router, for instance by
> specifying my network-internal IP in addition to the router's external
> IP? Or would this be heavily implementation-specific? --I haven't found
> anything in the SSH man pages or on Google for the issue.
>
> Thank you,
> Christopher Wright
> _______________________________________________
> lugsb mailing list
> lugsb at mail.fsl.cs.sunysb.edu
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb




More information about the lugsb mailing list