nft
This commit is contained in:
@@ -27,8 +27,12 @@ in{
|
|||||||
${if cfg.web then ''udp dport {80, 443} accept'' else ""}
|
${if cfg.web then ''udp dport {80, 443} accept'' else ""}
|
||||||
${if cfg.wireguard then ''tcp dport {1515} accept'' else ""}
|
${if cfg.wireguard then ''tcp dport {1515} accept'' else ""}
|
||||||
${if cfg.wireguard then ''udp 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 ''
|
${if cfg.nftables.enable then ''
|
||||||
|
|||||||
Reference in New Issue
Block a user