firewall: set IPv6 address for wireguard interface

And advertise it.
This commit is contained in:
Timotej Lazar 2023-12-13 19:03:35 +01:00
parent d789e4a037
commit c2d0e88996
2 changed files with 20 additions and 3 deletions

View file

@ -1,4 +1,9 @@
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 %}