Skip to content

Instantly share code, notes, and snippets.

@hostmaster
Created December 6, 2013 07:06
Show Gist options
  • Select an option

  • Save hostmaster/7819751 to your computer and use it in GitHub Desktop.

Select an option

Save hostmaster/7819751 to your computer and use it in GitHub Desktop.
sslh + openvpn/tcp/443
local 127.0.0.1
port 1194
proto tcp
dev tun
remote-cert-tls client
log-append /var/log/openvpn.log
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh1024.pem
server 192.168.87.0 255.255.255.0
ifconfig-pool-persist ipp.txt
comp-lzo yes
client-to-client
client-config-dir clients
port-share 127.0.0.1 443
keepalive 10 60
ping-timer-rem
persist-key
persist-tun
persist-local-ip
persist-remote-ip
user nobody
group nogroup
daemon
RUN=yes
EXT_IP='x.x.x.x'
DAEMON_OPTS="--user sslh -t 5 --listen x.x.x.x:443 --ssh 127.0.0.1:30022 --openvpn 127.0.0.1:1194 --ssl 127.0.0.1:443 --pidfile /var/run/sslh/sslh.pid"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment