mirror of
https://github.com/moparisthebest/sslh
synced 2024-11-24 10:02:16 -05:00
30 lines
831 B
INI
30 lines
831 B
INI
# This is a basic configuration file that should provide
|
|
# sensible values for "standard" setup.
|
|
|
|
verbose: false;
|
|
foreground: false;
|
|
inetd: false;
|
|
numeric: false;
|
|
transparent: false;
|
|
timeout: "2";
|
|
user: "nobody";
|
|
pidfile: "/var/run/sslh.pid";
|
|
|
|
|
|
# Change hostname with your external address name.
|
|
listen:
|
|
(
|
|
{ host: "thelonious"; port: "443"; }
|
|
);
|
|
|
|
protocols:
|
|
(
|
|
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; probe: "builtin"; },
|
|
{ name: "openvpn"; host: "localhost"; port: "1194"; probe: "builtin"; },
|
|
{ name: "xmpp"; host: "localhost"; port: "5222"; probe: "builtin"; },
|
|
{ name: "http"; host: "localhost"; port: "80"; probe: "builtin"; },
|
|
{ name: "ssl"; host: "localhost"; port: "443"; probe: "builtin"; },
|
|
{ name: "anyprot"; host: "localhost"; port: "443"; probe: "builtin"; }
|
|
);
|
|
|