Last active
May 6, 2016 22:29
-
-
Save Tristor/a7222c02ff9365fef9b741a1358d875a to your computer and use it in GitHub Desktop.
A stub client configuration for OpenVPN
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
# This configuration is for $CN | |
#viscosity dns full | |
#viscosity usepeerdns true | |
#viscosity dhcp true | |
tls-client | |
pull | |
client | |
dev tun | |
proto udp | |
remote 123.123.123.123 1194 | |
redirect-gateway def1 | |
nobind | |
persist-key | |
persist-tun | |
comp-lzo | |
verb 3 | |
<ca> | |
... | |
</ca> | |
<cert> | |
... | |
</cert> | |
<key> | |
... | |
</key> | |
<tls-auth> | |
... | |
</tls-auth> | |
remote-cert-tls server | |
ns-cert-type server | |
verify-x509-name 'C=XX, ST=XX, L=XX, O=XX, OU=XX, CN=XX, name=XX, emailAddress=XX' subject | |
key-direction 1 | |
cipher AES-256-CBC | |
tls-version-min 1.2 | |
auth SHA512 | |
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-128-CBC-SHA256 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment