Skip to content

Instantly share code, notes, and snippets.

@nbrownus
Created October 30, 2015 23:43
Show Gist options
  • Save nbrownus/5777072988ca6f4b5000 to your computer and use it in GitHub Desktop.
Save nbrownus/5777072988ca6f4b5000 to your computer and use it in GitHub Desktop.
client
dev tun
proto udp
remote <YOUR IP OR FQDN> <YOUR PORT>
resolv-retry infinite
nobind
user nobody
group nobody
persist-key
persist-tun
auth-user-pass
tls-version-min 1.2
auth SHA256
tls-cipher TLS-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA
cipher AES-256-CBC
reneg-sec 86400
auth-nocache
verify-x509-name "CN=<YOUR CN>, C=<YOUR C>, L=<YOUR L>, O=<YOUR O>, ST=<YOUR ST>"
comp-lzo
verb 3
<cert>
YOUR CERT HERE
</cert>
<key>
YOUR KEY HERE
</key>
<ca>
<YOUR ROOT CA CERT HERE>
</ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment