Skip to content

Instantly share code, notes, and snippets.

@dmitrykinakh
Created December 27, 2022 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitrykinakh/4693397bcc33a1318dbb571d9093930f to your computer and use it in GitHub Desktop.
Save dmitrykinakh/4693397bcc33a1318dbb571d9093930f to your computer and use it in GitHub Desktop.
client
dev tun
proto udp
remote vpn.cvpn-endpoint-02f0f76cab7f4a675.prod.clientvpn.us-east-1.amazonaws.com 443
remote-random-hostname
resolv-retry infinite
tun-mtu 1400
nobind
persist-key
persist-tun
remote-cert-tls server
verb 3
script-security 2
dhcp-option DNS 8.8.8.8
dhcp-option DOMAIN openvpn
<cert>
-----BEGIN CERTIFICATE-----
{certificate goes here}
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
{certificate goes here}
-----END PRIVATE KEY-----
</key>
<ca>
-----BEGIN CERTIFICATE-----
{certificate goes here}
-----END CERTIFICATE-----
</ca>
reneg-sec 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment