Add inside and outside roles for VLANs
Will probably rename inside/outside and office/server to int/ext.
This commit is contained in:
parent
0802dc8637
commit
aeb124e346
6 changed files with 65 additions and 22 deletions
9
roles/firewall/templates/networks.nft.j2
Normal file
9
roles/firewall/templates/networks.nft.j2
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% for vlan in vlans %}
|
||||
set {{ vlan.name }} {
|
||||
type ipv4_addr; flags interval
|
||||
}
|
||||
set {{ vlan.name }}/6 {
|
||||
type ipv6_addr; flags interval
|
||||
}
|
||||
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue