mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-04 07:32:19 -08:00
The iptables and nftables cleanups didn't remove the connmark rules from the mangle tables, so they were left behind by --cleanup and after an unclean exit followed by a switch to another firewall mode. AddConnmarkSaveRule created mangle/OUTPUT with type filter, which iptables-nft can't add rules to. Create it with type route, as iptables-nft does, and at startup delete the old filter-type chain if nothing else uses it. Updates #22363 Change-Id: I7b64e8e9894773f1dd88384c3339106603db15ae Signed-off-by: Nikolaos Gkarlis <[email protected]>