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 domain.com:443 to my web server for HTTPS and allow me to redirect ssh.domain.com:443 to my web server internally on port 22 for SSH.

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.


This should be possible with the help of sslh.

  • Looks promising, I will test it tonight. If it will let me handle multiple domains as well, I think we may have a winner. – MrDrMcCoy 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! – MrDrMcCoy Feb 26 '13 at 4:43

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