Created
October 21, 2023 09:43
-
-
Save alexlehm/f26c3aaf574ea4ad6555dc80e10b4a7d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
verbose: true; | |
foreground: true; | |
inetd: false; | |
numeric: true; | |
transparent: true; | |
timeout: 2; | |
#user: "sslh"; | |
pidfile: "/home/alexlehm/run/sslh.pid"; | |
#chroot: "/var/empty"; | |
listen: | |
( | |
{ host: "0.0.0.0"; port: "11965"; } | |
); | |
# sslh demultiplexes based on the Protocol and Hostname | |
protocols: | |
( | |
#{ name: "tls"; sni_hostnames: [ "www.example.com" ]; host: "192.168.1.124"; port: "443"; log_level: 1; }, | |
# This probe is for tls encrypted ssh. SSLH forwards it to stunnel on port 4480 which decrypts it and sends it to the ssh server on PiA port 1022 | |
#{ name: "tls"; sni_hostnames: [ "ssh.example.com" ]; host: "192.168.1.124"; port: "4480"; log_level: 1; }, | |
#{ name: "http"; host: "192.168.1.123"; port: "8000"; log_level: 1; }, | |
#{ name: "ssh"; host: "192.168.1.123"; port: "1022"; log_level: 1; } | |
#{ name: "tls"; sni_hostnames: [ "tilde.green" ]; host: "127.0.0.1"; port: "51095"; log_level: 1; }, | |
#{ name: "tls"; sni_hostnames: [ "forum.tilde.green" ]; host: "127.0.0.1"; port: "50747"; log_level: 1; }#, | |
{ name: "tls"; sni_hostnames: [ "tilde.green" ]; host: "127.0.0.1"; port: "51095"; log_level: 1; }, | |
{ name: "tls"; sni_hostnames: [ "forum.tilde.green" ]; host: "127.0.0.1"; port: "50747"; log_level: 1; }#, | |
#{ name: "tls"; sni_hostnames: [ "tilde.green" ]; host: "::1"; port: "51095"; log_level: 1; }, | |
#{ name: "tls"; sni_hostnames: [ "forum.tilde.green" ]; host: "::1"; port: "50747"; log_level: 1; }#, | |
#{ name: "tls"; sni_hostnames: [ "tilde.green" ]; host: "127.0.0.1"; port: "51095"; log_level: 100; }#, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment