Skip to content

Instantly share code, notes, and snippets.

@perguth
Created April 19, 2024 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save perguth/bdb6d564f6716ff17bec5e5ad7e10bde to your computer and use it in GitHub Desktop.
Save perguth/bdb6d564f6716ff17bec5e5ad7e10bde to your computer and use it in GitHub Desktop.
sslh.cfg
# /etc/sslh/sslh.cfg or /etc/sslh.cfg
verbose: true;
foreground: true;
inetd: false;
numeric: true;
#transparent: true; # ygg stops working when enabled
timeout: 900; # TCP default
user: "sslh";
pidfile: "/var/run/sslh.pid";
chroot: "/var/empty";
listen:
(
{
host: "5.75.213.206",
port: "80";
}
);
protocols: (
{
name: "http";
host: "127.0.0.1";
port: "8080";
},
{
name: "anyprot";
host: "127.0.0.1";
port: "8081";
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment