• iptables and nftables

    From Grimble@2:250/1 to All on Mon Aug 1 16:56:43 2022
    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


    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Mon Aug 1 17:54:43 2022
    On Mon, 01 Aug 2022 11:56:43 -0400, Grimble <grimble@nomail.afraid.org> wrote:
    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?

    $ 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

    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Grimble@2:250/1 to All on Tue Aug 2 12:31:03 2022
    On 01/08/2022 17:54, David W. Hodgins wrote:
    On Mon, 01 Aug 2022 11:56:43 -0400, Grimble <grimble@nomail.afraid.org> wrote:
    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?

    $ 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
    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



    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)