Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have an unusual problem. My home server environment has only one static IP. It has a web server that I would like to serve HTTP and HTTPS. However, most of the external networks I connect to it from block traffic over all ports except 80 and 443, thus preventing me from doing SSH over port 22. I can do SSH over 443, but that obviously conflicts with HTTPS requests.

My main question is if there is a way to set up a reverse proxy server that will forward to my web server for HTTPS and allow me to redirect to my web server internally on port 22 for SSH.

share|improve this question

closed as off topic by EEAA, Michael Hampton, Ward, mdpc, Khaled Feb 27 '13 at 7:43

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 4 down vote accepted

This should be possible with the help of sslh.

share|improve this answer
Looks promising, I will test it tonight. If it will let me handle multiple domains as well, I think we may have a winner. – nakedhitman Feb 25 '13 at 23:22
It works! I can take it from here. Don't know why I had such a hard time finding that. Thanks a ton! – nakedhitman Feb 26 '13 at 4:43

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