Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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 – c4f4t0r Sep 5 '13 at 14:55

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