2020-07-10 00:58:55 +02:00
|
|
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
2020-07-10 01:56:49 +02:00
|
|
|
{%- from "openvpn_client/map.jinja" import openvpn_client with context %}
|
2020-07-10 00:58:55 +02:00
|
|
|
<ca>
|
2020-07-10 01:56:49 +02:00
|
|
|
{{ openvpn_client.config.vpn.ca }}
|
2020-07-10 00:58:55 +02:00
|
|
|
</ca>
|
|
|
|
<cert>
|
2020-07-10 01:56:49 +02:00
|
|
|
{{ openvpn_client.config.vpn.cert }}
|
2020-07-10 00:58:55 +02:00
|
|
|
</cert>
|
|
|
|
<key>
|
2020-07-10 01:56:49 +02:00
|
|
|
{{ openvpn_client.config.vpn.key }}
|
2020-07-10 00:58:55 +02:00
|
|
|
</key>
|
|
|
|
client
|
2020-07-10 01:56:49 +02:00
|
|
|
remote {{ openvpn_client.config.vpn.global_endpoint_host }} {{ openvpn_client.config.vpn.global_endpoint_port }}
|
|
|
|
proto {{ openvpn_client.config.vpn.global_endpoint_proto }}
|
2020-07-10 00:58:55 +02:00
|
|
|
dev tun
|
|
|
|
|
|
|
|
topology subnet
|
|
|
|
|
|
|
|
keepalive 10 120
|
|
|
|
|
|
|
|
nobind
|
|
|
|
|
|
|
|
persist-key
|
|
|
|
persist-tun
|
|
|
|
|
|
|
|
compress lzo
|
|
|
|
fast-io
|
|
|
|
|
2021-08-19 21:15:24 +02:00
|
|
|
auth-user-pass private/pass
|