]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
iptables: Make all tools use the nft compat layer
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Nov 2025 17:02:52 +0000 (17:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Nov 2025 17:02:52 +0000 (17:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/iptables

index 0698137335cfae644be009ea797ff5469842e080..a2b19c20b16ece3955a9eec60641d8f2caa28d8e 100644 (file)
@@ -98,6 +98,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        # Use iptables-nft by default
        ln -svf xtables-nft-multi /sbin/iptables
+       ln -svf xtables-nft-multi /sbin/iptables-restore
+       ln -svf xtables-nft-multi /sbin/iptables-save
+       ln -svf xtables-nft-multi /sbin/iptables-xml
+       ln -svf xtables-nft-multi /sbin/ip6tables
+       ln -svf xtables-nft-multi /sbin/ip6tables-restore
+       ln -svf xtables-nft-multi /sbin/ip6tables-save
 
        @rm -rf $(DIR_APP) $(DIR_SRC)/netfilter-layer7*
        @$(POSTBUILD)