network/roles/firewall/templates/networks.nft.j2
Timotej Lazar aeb124e346 Add inside and outside roles for VLANs
Will probably rename inside/outside and office/server to int/ext.
2024-01-30 12:35:33 +01:00

10 lines
159 B
Django/Jinja

{% for vlan in vlans %}
set {{ vlan.name }} {
type ipv4_addr; flags interval
}
set {{ vlan.name }}/6 {
type ipv6_addr; flags interval
}
{% endfor %}