29 lines
542 B
Plaintext
29 lines
542 B
Plaintext
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||
|
{%- from "openvpn_client/map.jinja" import openvpn with context %}
|
||
|
<ca>
|
||
|
{{ openvpn.config.vpn.ca }}
|
||
|
</ca>
|
||
|
<cert>
|
||
|
{{ openvpn.config.vpn.cert }}
|
||
|
</cert>
|
||
|
<key>
|
||
|
{{ openvpn.config.vpn.key }}
|
||
|
</key>
|
||
|
client
|
||
|
remote {{ openvpn.config.vpn.global_endpoint_host }} {{ openvpn.config.vpn.global_endpoint_port }}
|
||
|
proto {{ openvpn.config.vpn.global_endpoint_proto }}
|
||
|
dev tun
|
||
|
|
||
|
topology subnet
|
||
|
|
||
|
keepalive 10 120
|
||
|
|
||
|
nobind
|
||
|
|
||
|
persist-key
|
||
|
persist-tun
|
||
|
|
||
|
compress lzo
|
||
|
fast-io
|
||
|
|
||
|
auth-user-pass vpn/pass
|