mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-13 07:37:15 +03:00
improve basic.cfg
This commit is contained in:
parent
9d10989d55
commit
64c3e0ed1e
16
basic.cfg
16
basic.cfg
@ -1,23 +1,25 @@
|
|||||||
# This is a basic configuration file that should provide
|
# This is a basic configuration file that should provide
|
||||||
# sensible values for "standard" setup.
|
# sensible values for "standard" setup.
|
||||||
|
|
||||||
verbose: 0;
|
# You will find extensive examples with explanations in
|
||||||
foreground: false;
|
# example.cfg
|
||||||
inetd: false;
|
|
||||||
numeric: false;
|
|
||||||
transparent: false;
|
|
||||||
timeout: 2;
|
timeout: 2;
|
||||||
user: "nobody";
|
user: "nobody";
|
||||||
pidfile: "/var/run/sslh.pid";
|
pidfile: "/var/run/sslh.pid";
|
||||||
chroot: "/var/empty";
|
|
||||||
|
|
||||||
|
|
||||||
# Change hostname with your external address name.
|
# Change hostname with your external address name, or the IP
|
||||||
|
# of the interface that receives connections
|
||||||
listen:
|
listen:
|
||||||
(
|
(
|
||||||
{ host: "thelonious"; port: "443"; }
|
{ host: "thelonious"; port: "443"; }
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
# Change to the protocols you want to forward to. The
|
||||||
|
# defaults here are sensible for services running on
|
||||||
|
# localhost
|
||||||
protocols:
|
protocols:
|
||||||
(
|
(
|
||||||
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; fork: true; },
|
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; fork: true; },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user