network/roles/firewall/templates/wg.intf.j2
2023-12-18 12:55:50 +01:00

10 lines
177 B
Django/Jinja

auto wg
iface wg inet static
use wireguard
{% if wg_net is defined %}
address {{ wg_net }}
{% endif %}
{% if wg_net6 is defined %}
address {{ wg_net6 }}
{% endif %}