host_firewall: forward_policy log|drop admits replies, DNAT, trusted and pod interfaces, forward_ifaces for routed-only links

This commit is contained in:
2026-11-11 21:48:43 +00:00
parent c2a2a1ea0e
commit 08078324c9
3 changed files with 37 additions and 2 deletions
+7
View File
@@ -131,6 +131,13 @@ firewall:
# forwarding hosts (Kubernetes with Cilium, Docker, routing peers) otherwise route packets for foreign destinations that
# the datacenter sends to them back out. An uplink (see above) is already covered and left out.
no_reflect: {}
# Forward chain default. accept: forwarded traffic passes unless a rule above drops it. log: traffic that no accept rule
# (replies, DNATed connections, trusted interfaces: wt0, cluster, internal and guest ifaces, routed_v6 bridges) admits is
# logged with fw-fwd-drop: and counted, to find the interfaces a host still needs. drop: the same traffic is dropped.
forward_policy: accept
# Interfaces (name -> interface, wildcards allowed) whose forwarded traffic is accepted without trusting their input,
# e.g. a transit bridge to a guest that only needs routing.
forward_ifaces: {}
# Reject outbound TCP 25; the mail group turns it off.
block_smtp_out: true
# EU-27 plus CH, NO, GB, IS, LI (ipdeny country codes). Empty leaves the geo