improve basic.cfg

This commit is contained in:
Yves Rűtschlé 2022-09-04 15:26:39 +02:00
parent 9d10989d55
commit 64c3e0ed1e

View File

@ -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; },