summaryrefslogtreecommitdiff
path: root/data/templates/openvpn/client.conf.tmpl
blob: 3099f2ca71f2766b00a4cb32a52a6307d77175c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
### Autogenerated by interfaces-openvpn.py ###

{% if ip -%}
ifconfig-push {{ ip }} {{ remote_netmask }}
{% endif -%}
{% for route in push_route -%}
push "route {{ route }}"
{% endfor -%}

{% for net in subnet -%}
iroute {{ net }}
{% endfor -%}

{% if disable -%}
disable
{% endif -%}