yrutschle / sslh

Applicative Protocol Multiplexer (e.g. share SSH and HTTPS on the same port)

Home Page:https://www.rutschle.net/tech/sslh/README.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

failover support?

poVoq opened this issue · comments

Is it possible to make sslh to failover to another internal server when it can not redirect to the primary one?

at the moment, I think it tries all IP addresses in the order the name resolution gives them until it finds one to connect to, so I'd expect if you have define several IPs for one service, it'll try them?
(I have never tried it)

Something like, in /etc/hosts:

192.168.10.1 ssh_target
192.168.10.2 ssh_target

and then use ssh_target in sslh.cfg.