nft
This commit is contained in:
1 parent
1a8eb085df
commit
4c1f9f0e78
1 file changed
+6
-2
@@ -27,8 +27,12 @@ in{
|
||||
${if cfg.web then ''udp dport {80, 443} accept'' else ""}
|
||||
${if cfg.wireguard then ''tcp dport {1515} accept'' else ""}
|
||||
${if cfg.wireguard then ''udp dport {1515} accept'' else ""}
|
||||
|
||||
|
||||
}
|
||||
chain forward {
|
||||
type filter hook forward priority filter; policy drop;
|
||||
ct state established,related accept
|
||||
iifname { "podman*", "veth*" } accept
|
||||
oifname { "podman*", "veth*" } accept
|
||||
}
|
||||
}
|
||||
${if cfg.nftables.enable then ''
|
||||
|
||||
Reference in new issue
Block a user