Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I hope someone can point out what I'm doing wrong. I've drawn the following picture to illustrate what I'm trying to do. Basically, I'm trying to access a website that is hosted on a server that is behind a firewall using SSH tunneling. That's possible, right? All of the connections in my illustration work except for step 3. If I change step one to point to port 22 instead of port 80 then step 2 allows me to connect to the terminal. But I think I need to be connected to port 80 in order to access the website, right?

enter image description here

share|improve this question

closed as off-topic by Jenny D, Ward, mdpc, Falcon Momot, kce Oct 4 '13 at 16:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Jenny D, Ward, mdpc, Falcon Momot, kce
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Why are you not opening the port specifically for the ssh? Hmmmmm....something seems fishy here. Why not work with you administrator and get proper access? –  mdpc Oct 3 '13 at 22:35
add comment

1 Answer 1

Yesterday I came across the same problem. This is what I did:

http://pc2solution.blogspot.in/2013/10/tunneling-through-putty-accessing.html

I would have posted it here, but I am not allowed to post images in answers yet. :) Let me know if you faces any problem.

share|improve this answer
    
I use a command like this ssh -L 1099:serverbehind_the_firewall:80 username@firewall.com –  c4f4t0r Sep 5 '13 at 14:55
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.