Created
May 30, 2020 20:30
-
-
Save Klice/5599ef58061c3a443365c8028b20efe4 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
1. Update CLR: | |
/opt/EasyRSA-3.0.3/easyrsa gen-crl | |
2. Gen cleint CRT: | |
/opt/EasyRSA-3.0.3/easyrsa build-client-full sasha nopass | |
3. Cline conf: | |
client | |
verb 4 | |
connect-retry 2 10 | |
resolv-retry 60 | |
dev tun | |
remote cheusov.ca 443 tcp-client | |
connect-timeout 120 | |
comp-lzo | |
route-ipv6 ::/0 | |
route 0.0.0.0 0.0.0.0 vpn_gateway | |
remote-cert-tls server | |
cipher AES-256-CBC | |
persist-tun | |
# persist-tun also enables pre resolving to avoid DNS resolve problem | |
preresolve | |
# Custom configuration options | |
# You are on your on own here :) | |
# These options found in the config file do not map to config settings: | |
setenv IV_PLAT_VER "27 8.1.0 arm64-v8a google bullhead Nexus 5X" | |
resolv-retry 60 | |
preresolve | |
ifconfig-nowarn | |
<ca> | |
pki/ca.crt | |
</ca> | |
<key> | |
pki/private/sasha.key | |
</key> | |
<cert> | |
pki/issued/sasha.crt | |
</cert> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment