Skip to content

Instantly share code, notes, and snippets.

@Klice
Created May 30, 2020 20:30
Show Gist options
  • Save Klice/5599ef58061c3a443365c8028b20efe4 to your computer and use it in GitHub Desktop.
Save Klice/5599ef58061c3a443365c8028b20efe4 to your computer and use it in GitHub Desktop.
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