Skip to content

Instantly share code, notes, and snippets.

@glavk
Last active November 20, 2015 05:50
Show Gist options
  • Save glavk/b810085d84a6de2f9154 to your computer and use it in GitHub Desktop.
Save glavk/b810085d84a6de2f9154 to your computer and use it in GitHub Desktop.
Double VPN vps1 server.conf
dev tun1
proto tcp-server
port 443
mode server
tls-server
server 10.1.0.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 20 60
comp-lzo
persist-key
persist-tun
duplicate-cn
daemon
key-direction 0
log /dev/null
verb 3
<ca>
# ca.crt
</ca>
<dh>
# dh2048.pem
</dh>
<tls-auth>
# ta.key
</tls-auth>
<cert>
# server.crt
</cert>
<key>
# server.key
</key>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment