firewall: create empty ipsets for known networks
So we don’t crash and burn before config is set up.
This commit is contained in:
parent
161ce73be7
commit
544aa0a088
2 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@ flush ruleset
|
|||
|
||||
table inet filter {
|
||||
include "/etc/nftables.d/interfaces.nft"
|
||||
include "/etc/nftables.d/networks.nft"
|
||||
include "/etc/nftables.d/sets.nft*"
|
||||
|
||||
set link {
|
||||
|
@ -92,6 +93,7 @@ table inet filter {
|
|||
|
||||
table ip nat {
|
||||
include "/etc/nftables.d/interfaces.nft"
|
||||
include "/etc/nftables.d/networks.nft"
|
||||
include "/etc/nftables.d/sets.nft*"
|
||||
include "/etc/nftables.d/netmap.nft*"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue