network/roles/firewall/templates/wg.intf.j2

10 lines
177 B
Plaintext
Raw Normal View History

2023-12-18 10:22:14 +00:00
auto wg
iface wg inet static
use wireguard
{% if wg_net is defined %}
2023-12-18 10:22:14 +00:00
address {{ wg_net }}
{% endif %}
{% if wg_net6 is defined %}
address {{ wg_net6 }}
{% endif %}