Today in "fun with things you probably shouldn't touch..." I was converting a se...

@me@social.taupehat.com

Today in "fun with things you probably shouldn't touch..." I was converting a set of iptables NAT rules to nftables for a much newer host, found some really bizarre masking rules in the mangle table, and absolutely went down the garden path trying to figure out how to get that to work in nftables.

I finally had to give up and use iptables-nft for the mangle stuff, got it to do EXACTLY the type of packet masking I was seeing, was very proud of my work, and then a colleague said "Oh that's just the stuff tailscale automatically manages when it comes up. No need to copy that in."

tl;dr: if you use "iptables-save" to see what to implement in nftables you're flying blind and should probably just take the rest of the day off and go fishing. It'll be just as productive as the work you're about to put in. #sysadmin