Tunneling through unfriendly firewalls




I just posted a description of some tunneling I'm doing in
http://www.nabble.com/forum/ViewPost.jtp?post=7902748&framed=y 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?
--
View this message in context: http://www.nabble.com/Tunneling-through-unfriendly-firewalls-tf2830640.html#a7902799
Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.



Relevant Pages

  • Re: Mac `owned in hacking competition
    ... the router's port forwarding rules. ... The firewall or a NAT router only stops connections initiated from ... ssh will let you set up forwarded ports in both ... You start an ssh session from the target machine (this is ...
    (uk.comp.sys.mac)
  • RE: ssh attempts
    ... Change the port to something different than port 22. ... Subject: Re: ssh attempts ... > forget the excellent iptables firewall you probably already have on ... >>> Computer Emergency Response Teams, ...
    (Security-Basics)
  • Re: Reverse Shell?
    ... >> behind a firewall so I can't ssh into their computer. ... > follow the tunnel back to their machine and then help them. ... Connections to that port will be forwarded through the ...
    (Debian-User)
  • RE: Tunneling over ssh with termination by the FW
    ... I would use something like Putty (ssh client software) to open a secure ... tunnel with the firewall. ... If the firewall has the sshd running on port ...
    (SSH)
  • Re: need help for setting SSH Server for Windows XP
    ... In my windows firewall proper ports are opened. ... Changing from port 22 to ports 80, 443 also doesn't give any results. ... static LAN IP of the server PC. ... It is *NOT* a valid test to call the SSH server PC from another ...
    (microsoft.public.windowsxp.work_remotely)