summaryrefslogtreecommitdiff
path: root/roles/network/openvpn/server/templates/client.j2
blob: 0a0faf5f1f1af5a253fcb497c74def1a7b6ea5c4 (plain) (blame)
1
2
3
4
ifconfig-push {{ openvpn_zone.subnet | ipaddr(openvpn_zone.offsets[client]) | ipaddr('address') }} {{ openvpn_zone.subnet | ipaddr('netmask') }}
{% for route in (openvpn_zone.routes[client] | default([])) %}
iroute {{ route | ipaddr('network') }} {{ route | ipaddr('netmask') }}
{% endfor %}