mirror of
https://github.com/moparisthebest/sslh
synced 2024-11-14 05:05:02 -05:00
30 lines
723 B
INI
30 lines
723 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"; },
|
|
{ name: "openvpn"; host: "localhost"; port: "1194"; },
|
|
{ name: "xmpp"; host: "localhost"; port: "5222"; },
|
|
{ name: "http"; host: "localhost"; port: "80"; },
|
|
{ name: "ssl"; host: "localhost"; port: "443"; },
|
|
{ name: "anyprot"; host: "localhost"; port: "443"; }
|
|
);
|
|
|