Nf_tables modules not found.
Posted: 08 Dec 2022, 14:08
Guys,
NFTables is working as expected now.
We need to have binary package of nftables from here - https://debian.pkgs.org/sid/debian-main ... 4.deb.html (will also need lib - libnftables.so.1.1.0)
https://wiki.nftables.org/wiki-nftables ... o_nftables
The above URL has details of how to convert iptables rules to nftables rules all at once.
In short
To display rules:
# nft list ruleset
To disable nftables run
# nft flush ruleset
Save Nftables rules to a file
sudo nft list ruleset > /etc/nftables.conf
To make it enable on system boot run the first command via sh script.
/usr/sbin/nft -f /etc/nftables.conf
NFTables is working as expected now.
We need to have binary package of nftables from here - https://debian.pkgs.org/sid/debian-main ... 4.deb.html (will also need lib - libnftables.so.1.1.0)
https://wiki.nftables.org/wiki-nftables ... o_nftables
The above URL has details of how to convert iptables rules to nftables rules all at once.
In short
To display rules:
# nft list ruleset
To disable nftables run
# nft flush ruleset
Save Nftables rules to a file
sudo nft list ruleset > /etc/nftables.conf
To make it enable on system boot run the first command via sh script.
/usr/sbin/nft -f /etc/nftables.conf