Files
amnezia-client/client/server_scripts/openvpn_cloak/template.ovpn
T

39 lines
571 B
Plaintext
Raw Normal View History

2021-04-04 23:12:36 +03:00
client
dev tun
proto tcp
2021-04-04 23:12:36 +03:00
resolv-retry infinite
nobind
persist-key
persist-tun
2021-05-07 23:28:37 +03:00
$OPENVPN_NCP_DISABLE
cipher $OPENVPN_CIPHER
auth $OPENVPN_HASH
2021-04-04 23:12:36 +03:00
verb 3
tls-client
tls-version-min 1.2
key-direction 1
remote-cert-tls server
redirect-gateway def1 bypass-dhcp
dhcp-option DNS $PRIMARY_DNS
dhcp-option DNS $SECONDARY_DNS
block-outside-dns
route $REMOTE_HOST 255.255.255.255 net_gateway
remote 127.0.0.1 1194
$OPENVPN_ADDITIONAL_CLIENT_CONFIG
2021-04-04 23:12:36 +03:00
<ca>
2021-05-07 23:28:37 +03:00
$OPENVPN_CA_CERT
2021-04-04 23:12:36 +03:00
</ca>
<cert>
2021-05-07 23:28:37 +03:00
$OPENVPN_CLIENT_CERT
2021-04-04 23:12:36 +03:00
</cert>
<key>
2021-05-07 23:28:37 +03:00
$OPENVPN_PRIV_KEY
2021-04-04 23:12:36 +03:00
</key>
<tls-auth>
2021-05-07 23:28:37 +03:00
$OPENVPN_TA_KEY
2021-04-04 23:12:36 +03:00
</tls-auth>