From 64c3e0ed1e2a30170e2fa4d9979b332b69090765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yves=20R=C5=B1tschl=C3=A9?= Date: Sun, 4 Sep 2022 15:26:39 +0200 Subject: [PATCH] improve basic.cfg --- basic.cfg | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/basic.cfg b/basic.cfg index d8e4336..2cb4d41 100644 --- a/basic.cfg +++ b/basic.cfg @@ -1,23 +1,25 @@ # This is a basic configuration file that should provide # sensible values for "standard" setup. -verbose: 0; -foreground: false; -inetd: false; -numeric: false; -transparent: false; +# You will find extensive examples with explanations in +# example.cfg + timeout: 2; user: "nobody"; 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: ( { host: "thelonious"; port: "443"; } ); + +# Change to the protocols you want to forward to. The +# defaults here are sensible for services running on +# localhost protocols: ( { name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; fork: true; },