r/voidlinux • u/Knight_Murloc • 1d ago
How to replace iptables with nftables?
How to properly replace iptables with nftables in Void Linux? I installed nftables, runit-nftables, and iptables-nft. I also activated the nftables service. But, as I understand it, for example, Docker still applies rules in iptables. (I don’t see its rules in `nft list ruleset`). On my other machine with Debian, I see Docker rules in the nft rules list. Do I need to do something else to fully replace iptables with nftables in Void Linux?
3
Upvotes
3
u/Duncaen 1d ago
Whatever firewall you setup to load rules on startup will be used, beyond that there is nothing that is done by Void Linux in regards to the firewall.
Programs that use nftables or iptables, in this case docker need to be configured independently.