When a container attached to a VyOS bridge network starts, netavark installs a global ct state invalid drop in the forward base chain of its own table inet netavark (priority 0). From then on, forwarded packets that conntrack marks invalid are dropped router-wide — IPv4 and IPv6, not only container traffic. This breaks forwarding on routers with asymmetric paths (measured with ICMP echo replies). The rule was still present after the container configuration was deleted (removal at reboot not measured).
Rolling, 5 unsolicited forwarded echo replies sent through the router:
before any container: 5 of 5 arrive container started: 0 of 5 arrive
1.5.1: 5 of 5 arrive with the container running.
Cause
netavark 1.14 (src/firewall/nft.rs:214, varktables/types.rs:387-392: "just add one global rule instead of filtering per subnet", TeardownPolicy::Never). netavark 1.4.0 had no invalid-state drop. VyOS builds netavark with the nftables firewall driver.