services.sslh.settings.protocols
List of protocols sslh will probe for and redirect. Each protocol entry consists of:
-
name: name of the probe. -
service: libwrap service name (see hosts_access(5)), -
host,port: where to connect when this probe succeeds, -
log_level: to log incoming connections, -
transparent: proxy this protocol transparently, -
etc.
See the documentation for all options, including probe-specific ones.
- Type
list of attribute set of (libconfig value)- Default
[ { host = "localhost"; name = "ssh"; port = "22"; service = "ssh"; } { host = "localhost"; name = "openvpn"; port = "1194"; } { host = "localhost"; name = "xmpp"; port = "5222"; } { host = "localhost"; name = "http"; port = "80"; } { host = "localhost"; name = "tls"; port = "443"; } { host = "localhost"; name = "anyprot"; port = "443"; } ]- Declared
- <nixpkgs/nixos/modules/services/networking/sslh.nix>