Skip to content

Instantly share code, notes, and snippets.

@nstanke
Created August 3, 2014 21:35
Show Gist options
  • Save nstanke/4eb27ab385018120b284 to your computer and use it in GitHub Desktop.
Save nstanke/4eb27ab385018120b284 to your computer and use it in GitHub Desktop.
sslh (etc/default/sslh) config for SSL, SSH & OpenVPN | apt-get install sshl
# Default options for sslh initscript
# sourced by /etc/init.d/sslh
# Disabled by default, to force yourself
# to read the configuration:
# - /usr/share/doc/sslh/README.Debian (quick start)
# - /usr/share/doc/sslh/README, at "Configuration" section
# - sslh(8) via "man sslh" for more configuration details.
# Once configuration ready, you *must* set RUN to yes here
# and try to start sslh (standalone mode only)
RUN=yes
# binary to use: forked (sslh) or single-thread (sslh-select) version
DAEMON=/usr/sbin/sslh
DAEMON_OPTS="-u sslh -p MYPUBLICIP:443 --ssh 127.0.0.1:22 --openvpn 127.0.0.1:1194 --ssl 127.0.0.1:443 -P /var/run/sslh/sslh.pid"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment