blob: 1c77e457afbb37d6082b7c7fc9e0981555300db5 (
plain) (
blame)
1
2
3
4
|
ifconfig-push {{ openvpn_zone.subnet | ansible.utils.ipaddr(openvpn_zone.offsets[client]) | ansible.utils.ipaddr('address') }} {{ openvpn_zone.subnet | ansible.utils.ipaddr('netmask') }}
{% for route in (openvpn_zone.routes[client] | default([])) %}
iroute {{ route | ansible.utils.ipaddr('network') }} {{ route | ansible.utils.ipaddr('netmask') }}
{% endfor %}
|