I have a server at work which is behind a firewall (the company's firewall) so it is reachable only thrugh port 22 (SSH). I'm able to connect to the server with putty without problems.
Also, that server has Apache running and listening on port 80 as usual.
But I cant connect to the website using my browser since port 80 (and everyone else) is blocked by the company's firewall.
Is there a way I can make my browser to connect to Apache in that server so I can browse the site I'm working on?
Since I was having no success with normal SSH tunneling techniques, I thought this problem was different from all those trying to pass through firewalls (and hence I asked here).
But I was mistaken, it's the exact same situation and a normal ssh-tunnel can solve the problem.
However, what made this problem a bit different (and the reason why I was being unsuccessful) is that the remote server was also behind a NAT, so the server's real IP was a private IP, not the public IP I use to start a SSH sesion.
One I realized that I put in my browser's address bar the server's private IP and voila! It worked like a charm.