blob: e40e610bb23f65d7f37439f7b27569b79fe30b38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Match]
Name={{ wireguard_p2p_interface.name }}
[Network]
{% for addr in wireguard_p2p_interface.addresses %}
Address={{ addr }}
{% endfor %}
{% for route in wireguard_p2p_interface.static_routes | default([]) %}
[Route]
Destination={{ route.dest }}
Gateway={{ route.gw }}
{% endfor %}
|