Created
March 2, 2021 08:02
-
-
Save r8or0pz/c7628b7f05416a6026522021aac4d68f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dev tun | |
persist-tun | |
persist-key | |
cipher AES-256-CBC | |
ncp-ciphers ... | |
auth SHA256 | |
tls-client | |
client | |
resolv-retry infinite | |
remote xx.xx.xxx.xxx 1195 udp | |
remote xx.xx.xxx.xxx 1195 udp | |
remote xx.xx.xxx.xxx 1195 udp | |
lport 0 | |
verify-x509-name "vpnhost.main.foo" name | |
auth-user-pass | |
remote-cert-tls server | |
passtos | |
<ca> | |
-----BEGIN CERTIFICATE----- | |
... | |
-----END CERTIFICATE----- | |
</ca> | |
<cert> | |
-----BEGIN CERTIFICATE----- | |
... | |
-----END CERTIFICATE----- | |
</cert> | |
<key> | |
-----BEGIN PRIVATE KEY----- | |
... | |
-----END PRIVATE KEY----- | |
</key> | |
key-direction 1 | |
<tls-auth> | |
# | |
# 2048 bit OpenVPN static key | |
# | |
-----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