Discussion:
iptables and nftables
(too old to reply)
Grimble
2022-08-01 15:56:43 UTC
Permalink
According to various articles, I should have a utility
/sbin/iptables-restore-translate
to convert the one format to the other. However:
-bash: iptables-restore-translate: command not found
Can someone shed some light on this please?
Ta
--
Grimble
Machine 'Haydn' running Plasma 5.20.4 on 5.15.55-desktop-2.mga8 kernel.
Mageia release 8 (Official) for x86_64
David W. Hodgins
2022-08-01 16:54:43 UTC
Permalink
Post by Grimble
According to various articles, I should have a utility
/sbin/iptables-restore-translate
-bash: iptables-restore-translate: command not found
Can someone shed some light on this please?
$ urpmq -i iptables-nft
Name : iptables-nft
Version : 1.8.7
Release : 1.mga8
Group : System/Kernel and hardware
Size : 1430 Architecture: x86_64
Source RPM : iptables-1.8.7-1.mga8.src.rpm
URL : https://www.netfilter.org/
Summary : NFT Packet Filter Administration utilties in the style of Xtables
Description :
The programs shipped in this subpackage behave like iptables on the
command line, but instead edit the rules of the NFT packet filter in
the Linux kernel. Linux kernel 4.2 or newer is recommended to exploit
all features.

$ urpmq -l iptables-nft
/etc/ethertypes
/sbin/ip6tables-restore-translate
/sbin/ip6tables-translate
/sbin/iptables-restore-translate
/sbin/iptables-translate

The man page for it is in the iptables package.

Regards, Dave Hodgins
Grimble
2022-08-02 11:31:03 UTC
Permalink
Post by David W. Hodgins
Post by Grimble
According to various articles, I should have a utility
/sbin/iptables-restore-translate
-bash: iptables-restore-translate: command not found
Can someone shed some light on this please?
$ urpmq -i iptables-nft
Name        : iptables-nft
Version     : 1.8.7
Release     : 1.mga8
Group       : System/Kernel and hardware
Size        : 1430                         Architecture: x86_64
Source RPM  : iptables-1.8.7-1.mga8.src.rpm
URL         : https://www.netfilter.org/
Summary     : NFT Packet Filter Administration utilties in the style of
Xtables
The programs shipped in this subpackage behave like iptables on the
command line, but instead edit the rules of the NFT packet filter in
the Linux kernel. Linux kernel 4.2 or newer is recommended to exploit
all features.
$ urpmq -l iptables-nft
/etc/ethertypes
/sbin/ip6tables-restore-translate
/sbin/ip6tables-translate
/sbin/iptables-restore-translate
/sbin/iptables-translate
The man page for it is in the iptables package.
Regards, Dave Hodgins
Thanks, Dave. Done now.
--
Grimble
Machine 'Haydn' running Plasma 5.20.4 on 5.15.55-desktop-2.mga8 kernel.
Mageia release 8 (Official) for x86_64
Loading...