Skip to content

Instantly share code, notes, and snippets.

@seuros
Created March 20, 2014 19:25
Show Gist options
  • Save seuros/9671811 to your computer and use it in GitHub Desktop.
Save seuros/9671811 to your computer and use it in GitHub Desktop.
Sample OpenVPN client config
client
dev tun
proto tcp
remote 192.168.1.1 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca [inline]
cert [inline]
key [inline]
verb 1
keepalive 10 900
inactive 3600
comp-lzo
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
</key>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment