Koozali.org: home of the SME Server

Forward a subdomain to a port?

djhomeless

Forward a subdomain to a port?
« on: December 02, 2005, 01:47:27 PM »
Now here is a tricky question.

Can you define a hostname, to redirect/proxy to a port?

The company that I work at has recently introduced draconian security measures, so now all external traffic is limited to just port 80. So, no SSH, no IMAP, no SFTP, and no VPN.

What I thought would be a nice workaround would be to create a number of subdomains, such as imap.domain.com, ssh.domain.com and so on, then proxy those requests to the specified port.

Not really the cleanest solution I know. I did try this once under 6.x using ProxyPass, but it seems to want to redirect to another IP, instead to a different internal port.

Thanks in advance!

Geoffrey

Offline MSmith

  • *
  • 675
  • +0/-0
Forward a subdomain to a port?
« Reply #1 on: December 02, 2005, 03:23:26 PM »
Maybe something such as httptunnel?

http://www.nocrew.org/software/httptunnel/faq.html
...