ansible-gateway/templates/wireguard/wireguard.network.j2
2021-02-21 00:45:22 +01:00

21 lines
328 B
Django/Jinja

[Match]
Name={{ gateway.vpn.name }}
[Network]
Address={{ gateway.vpn.this_ip }}/32
[Route]
Destination={{ gateway.vpn.endpoint.this_ip }}/32
Scope=link
[Route]
Destination=0.0.0.0/1
Gateway={{ gateway.vpn.endpoint.this_ip }}
[Route]
Destination=128.0.0.0/1
Gateway={{ gateway.vpn.endpoint.this_ip }}
# vim: set ft=dosini: