Created
July 10, 2022 05:38
-
-
Save WallaceTan/97e960ff2cfd18c3da0ab3a121ea661d to your computer and use it in GitHub Desktop.
/jffs/openvpn/client.ovpn
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
setenv FORWARD_COMPATIBLE 1 | |
client | |
server-poll-timeout 4 | |
nobind | |
remote my-vpn.server.com 1194 udp | |
dev tun | |
dev-type tun | |
ns-cert-type server | |
setenv opt tls-version-min 1.0 or-highest | |
reneg-sec 604800 | |
sndbuf 0 | |
rcvbuf 0 | |
auth-user-pass | |
static-challenge "Enter Authenticator Code" 1 | |
# NOTE: LZO commands are pushed by the Access Server at connect time. | |
# NOTE: The below line doesn't disable LZO. | |
comp-lzo no | |
verb 3 | |
setenv PUSH_PEER_INFO | |
<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 (Server Agent) | |
# | |
-----BEGIN OpenVPN Static key V1----- | |
... | |
-----END OpenVPN Static key V1----- | |
</tls-auth> | |
# Extra user-defined configuration | |
cipher AES-256-CBC | |
auth SHA256 | |
auth-nocache | |
keysize 256 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment