Iptables Replaced With Nftables
I recently upgraded my server to Debian 10 and I see that iptables is replaced with nftables. How can I retain the iptables rules I previously setup?
1 Reply
I tried looking this up and it looks like you can switch between iptables-nft and iptables-legacy using "update-alternatives". There's also an option where you can disable nftables for your server. I'm basing this off the following two links that I came across:
https://wiki.debian.org/iptables
https://wiki.debian.org/nftables
You also should be able to use "iptables-persistent" to save the iptables rules that you've previously setup. We also have a guide that covers this option:
I actually wasn't aware of this change myself, so this is something that I'll also need to do for my personal server.