I have a web daemon (listening on port 80 and 443) and a ssh daemon (listening on port 22) on the same machine.
I have a client (generating HTTP,HTTPS,SSH traffic) seating behind a proxy server (port 8080) and a firewall (only port 80 and 443 open).
I decided to use an HTTP tunnel for the SSH traffic through the proxy server and out. The problem is that the destination of that traffic is port 22 which is closed by the firewall.
I could use an HTTP tunnel with destination port 80 or 443 which is fine for the firewall but not for the destination server.
Is there any solution other than having 2 servers: 1 with the web server listening on port 80 and 443 and one with the ssh server listening on port 80 or 443 ?
Any advice would be greatly appreciated.
Laurent