Skip to content

Instantly share code, notes, and snippets.

@laetrid
Created June 30, 2016 09:07
Show Gist options
  • Save laetrid/0f53afb33d3038439865e8ac255cd37e to your computer and use it in GitHub Desktop.
Save laetrid/0f53afb33d3038439865e8ac255cd37e to your computer and use it in GitHub Desktop.
One file ovpn config
#To create one config file with ovpn certificates one need:
ca ca.crt
# change to
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
# all keys and crts the same way
# except for
tls-auth ta.key 1
# you need
key-direction 1
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
...
-----END OpenVPN Static key V1-----
</tls-auth>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment