mirror of
https://github.com/moparisthebest/sslh
synced 2024-11-21 08:35:01 -05:00
43a9bc8fd9
This patch allows to set option --transparent in an SSLH configuration file. Without it, transparent mode is only possible by passing the option on the command line.
30 lines
829 B
INI
30 lines
829 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"; }
|
|
);
|
|
|