Skip to content

Instantly share code, notes, and snippets.

@murilopontes
Created August 30, 2016 22:32
Show Gist options
  • Save murilopontes/0c82c5370951669be7cb53455f66cf53 to your computer and use it in GitHub Desktop.
Save murilopontes/0c82c5370951669be7cb53455f66cf53 to your computer and use it in GitHub Desktop.
server 10.8.0.0 255.255.0.0
port 1195
proto tcp
dev tun
topology subnet
max-clients 2000
comp-lzo
push "comp-lzo"
ping 10
ping-restart 80
push "ping 10"
push "ping-restart 60"
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 8.8.4.4"
push "dhcp-option DNS 208.67.220.220"
persist-tun
cipher AES-256-CBC
auth SHA1
status-version 2
script-security 2
reneg-sec 2592000
hash-size 1024 1024
max-routes-per-client 512
verb 4
mute 3
client-to-client
duplicate-cn
key-direction 0
<ca>
...
</ca>
<cert>
...
</cert>
<key>
....
</key>
<dh>
.....
</dh>
<tls-auth>
.....
</tls-auth>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment