Re: two way ssh tunnel over a firewall

From: all mail refused (elvis_at_notatla.org.uk)
Date: 12/31/03


Date: 30 Dec 2003 23:06:46 GMT

In article <89d8438d.0312301230.18db83eb@posting.google.com>, Phoenix wrote:

>I have an ssh server on the inside of a firewall (work machine)
>I do not govern the firewall nor have any access to it.
>I want to connect to my ssh-server on the inside and get a terminal

>So, my idea is to somehow make the server establish a tunnel and
>through this tunnel I should be able to ssh back to the
>server-machine.

If you can do outbound SSH from work to home:
    work$ ssh -N -R 2222:127.0.0.1:22 home
followed by
    home$ ssh -p 2222 127.0.0.1
that should do it.

It's probably worth checking first whether they will allow this.
If their firewall is implementing a policy they expect you to follow
this could land you in hot water.

-- 
Elvis Notargiacomo                  http://www.sendacow.org.uk/homepage.html


Relevant Pages

  • Re: SSH over WWW
    ... If your firewall "doesn't allow to ... get connection to a ssh-server" then moving one to a new port won't make ... it's still going to be an ssh-server. ... passes HTTP on port 80, ...
    (comp.security.ssh)
  • SSH over WWW
    ... I'm sitting behind a firewall which doesn't allow me to get connection to a ... Is there a ssh-clint in the www where I can access the ... ssh-server over http? ...
    (comp.security.ssh)