host_firewall: drop new connections that enter and leave through the default-route interface

This commit is contained in:
2026-11-11 21:14:34 +00:00
parent 27f6635cc1
commit c2a2a1ea0e
2 changed files with 14 additions and 1 deletions
+5
View File
@@ -126,6 +126,11 @@ firewall:
# never routes foreign destinations back out of the uplink or into the mesh and other interfaces. The kernel routes the
# prefix of the guest bridge, so no address is listed. The guest firewalls decide about the ports. IPv4 stays DNAT only.
routed_v6: {}
# Interfaces (name -> interface) whose forwarded traffic must not leave through the interface it arrived on, added to the
# interfaces of the default routes (IPv4 and IPv6) that every host gets. New connections that would be reflected drop;
# 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: {}
# 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