I just posted a description of some tunneling I'm doing in
this thread. I'm basically getting port 80 traffic through an encrypted tunnel so I can use a web server that's behind a firewall. The problem is, all port 80 traffic on the web server side of the firewall is not encrypted. I tried being clever:
ssh -L 2345:firewall:3456 bforbes@firewall
ssh -L 3456:webserver:80 bforbes@webserver
But I think the firewall has some restrictions on users creating listening ports, because I get this:
channel 3: open failed: connect failed: Connection refused
whenever I try to forward packets through my port 2345.
Is there another way to achieve this? Surely if I have an encrypted tunnel all the way through to the webserver, there is someway to send port 80 traffic through it, regardless of the firewall's restrictions?