new awesome build
This commit is contained in:
44
APP_PROFILER/templates/client.ovpn.j2
Normal file
44
APP_PROFILER/templates/client.ovpn.j2
Normal file
@@ -0,0 +1,44 @@
|
||||
client
|
||||
dev tun
|
||||
windows-driver wintun
|
||||
proto {{ protocol }}
|
||||
remote {{ remote_ip }} {{ port }}
|
||||
resolv-retry infinite
|
||||
nobind
|
||||
|
||||
{% if tun_mtu %}
|
||||
tun-mtu {{ tun_mtu }}
|
||||
{% endif %}
|
||||
user nobody
|
||||
group nobody
|
||||
persist-key
|
||||
persist-tun
|
||||
|
||||
{% if protocol == 'tcp' %}
|
||||
tls-client
|
||||
{% else %}
|
||||
#tls-client
|
||||
{% endif %}
|
||||
|
||||
mute-replay-warnings
|
||||
|
||||
remote-cert-tls server
|
||||
data-ciphers CHACHA20-POLY1305:AES-256-GCM:AES-256-CBC
|
||||
data-ciphers-fallback AES-256-CBC
|
||||
auth SHA256
|
||||
verb 3
|
||||
|
||||
key-direction 1
|
||||
|
||||
<ca>
|
||||
{{ ca_cert }}
|
||||
</ca>
|
||||
<cert>
|
||||
{{ client_cert }}
|
||||
</cert>
|
||||
<key>
|
||||
{{ client_key }}
|
||||
</key>
|
||||
<tls-auth>
|
||||
{{ tls_auth }}
|
||||
</tls-auth>
|
||||
Reference in New Issue
Block a user