Sunday, December 1, 2019

"reverse-proxy" for SSH or arbitrary protocol? (domain-based port forwarding)

Hello there,

Is there way to do port-forwarding based on the fqdn used to access the machine?

For example a SSH connexion on site1.domain.com:22 would redirect internally to 192.168.1.10:22 and an SSH connection to site2.domain.com:22 would redirect internally to 192.168.1.11:22 fut both site1 and site2 share the same public IP.

Basically an HTTP r-proxy but not limited to HTTP(S).



No comments:

Post a Comment