new calculation approach with unique sessions, new API endpoint to get list of active sessions, fix for UNDEF user, UI and Back to support certificate management still under development
This commit is contained in:
40
APP/templates/client.ovpn.j2
Normal file
40
APP/templates/client.ovpn.j2
Normal file
@@ -0,0 +1,40 @@
|
||||
client
|
||||
dev tun
|
||||
windows-driver wintun
|
||||
proto {{ proto }}
|
||||
remote {{ remote_host }} {{ remote_port }}
|
||||
resolv-retry infinite
|
||||
nobind
|
||||
persist-key
|
||||
persist-tun
|
||||
{% if 'tcp' in proto %}
|
||||
tls-client
|
||||
{% endif %}
|
||||
mute-replay-warnings
|
||||
remote-cert-tls server
|
||||
|
||||
# Encryption Config
|
||||
cipher {{ cipher | default('AES-256-GCM') }}
|
||||
{% if data_ciphers %}
|
||||
data-ciphers {{ data_ciphers }}
|
||||
{% endif %}
|
||||
{% if data_ciphers_fallback %}
|
||||
data-ciphers-fallback {{ data_ciphers_fallback }}
|
||||
{% endif %}
|
||||
auth {{ auth_algo | default('SHA256') }}
|
||||
verb 3
|
||||
|
||||
# Certificates Config
|
||||
<ca>
|
||||
{{ ca }}
|
||||
</ca>
|
||||
<cert>
|
||||
{{ cert }}
|
||||
</cert>
|
||||
<key>
|
||||
{{ key }}
|
||||
</key>
|
||||
key-direction 1
|
||||
<tls-auth>
|
||||
{{ tls_auth }}
|
||||
</tls-auth>
|
||||
Reference in New Issue
Block a user