mirror of
https://github.com/moparisthebest/sslh
synced 2024-11-12 04:05:05 -05:00
29 lines
809 B
INI
29 lines
809 B
INI
|
# This is a basic configuration file that should provide
|
||
|
# sensible values for "standard" setup.
|
||
|
|
||
|
verbose: false;
|
||
|
foreground: false;
|
||
|
inetd: false;
|
||
|
numeric: 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"; }
|
||
|
);
|
||
|
|