nftables

2 posts / 0 new
Last post
#1 Tue, 2016-03-29 20:19
Jack_Roswell
  • Jack_Roswell's picture
  • Offline
  • Last seen: 1 year 4 months ago
  • Joined: 2016-03-29

I see nftables is available via apk and I'd like to replace iptables with nftables. Before I replace iptables with nftables, I'm wondering if anyone has already been through the process? I'm assuming the following steps would work? I'll be logged in locally.

1. rc-update del iptables
2. apk add nftables
3. rc-update add nftables
4. Rewrite rules using nft
5. /etc/init.d/nftables save
6. reboot

Is it that easy?

Fri, 2016-04-15 16:27
ScrumpyJack
  • ScrumpyJack's picture
  • Offline
  • Last seen: 2 months 1 week ago
  • Joined: 2013-06-20

I don't think you need to re-write your rules.
If your netfilter rules where loaded with iptables, and you haven't flushed them, you should be able to save them with nftables (nft list ruleset)

Log in or register to post comments