From de7351fd8462c93e24fc298d76045f44c84fdba7 Mon Sep 17 00:00:00 2001 From: Yves Rutschle Date: Sun, 21 Apr 2024 18:20:54 +0200 Subject: [PATCH] Make basic.cfg more useful (fix #438) --- basic.cfg | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/basic.cfg b/basic.cfg index 2cb4d41..ef67978 100644 --- a/basic.cfg +++ b/basic.cfg @@ -11,9 +11,13 @@ pidfile: "/var/run/sslh.pid"; # Change hostname with your external address name, or the IP # of the interface that receives connections +# Default is to bind all interfaces. httpd can be started +# first to bind on localhost, in which case sslh will bind +# only other interfaces. listen: ( - { host: "thelonious"; port: "443"; } + { host: "0.0.0.0"; port: "443"; }, + { host: "[::]"; port: "443"; } ); @@ -24,8 +28,6 @@ protocols: ( { name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; fork: true; }, { name: "openvpn"; host: "localhost"; port: "1194"; }, - { name: "xmpp"; host: "localhost"; port: "5222"; }, - { name: "http"; host: "localhost"; port: "80"; }, { name: "tls"; host: "localhost"; port: "443"; log_level: 0; }, { name: "anyprot"; host: "localhost"; port: "443"; } );