8.2. Installing the ip_tables Loadable Kernel Module

K3s, the Kubernetes distribution used by LOCKSS uses its own embedded iptables program, but this in turn requires the ip_tables loadable kernel module, even if iptables or nftables is not installed on the host system. Most versions of the Compatible Operating Systems satisfy this requirement out of the box. This section describes how to install the ip_tables loadable kernel module on some operating systems.

Tip

Installing the ip_tables loadable kernel module is expected to be needed for some operating systems in the in the RHEL 10 family (AlmaLinux OS 10, Oracle Linux 10, Red Hat Enterprise Linux (RHEL) 10, and Rocky Linux 10).

You can check if the ip_tables loadable kernel module is installed by typing:

modinfo ip_tables
  • If technical information about the module is output, then the host satisfies the ip_tables loadable kernel module requirement.

    Example
    filename:       /lib/modules/6.19.11-arch1-1/kernel/net/ipv4/netfilter/ip_tables.ko.zst
    description:    IPv4 packet filter
    author:         Netfilter Core Team <coreteam@netfilter.org>
    license:        GPL
    srcversion:     E76A147B434207E5FEF1739
    depends:        x_tables
    intree:         Y
    name:           ip_tables
    retpoline:      Y
    vermagic:       6.19.11-arch1-1 SMP preempt mod_unload 
    sig_id:         PKCS#7
    signer:         Build time autogenerated kernel key
    sig_key:        04:9E:10:5D:31:B6:6A:31:CC:0C:00:55:DC:F9:CB:CE:3A:CF:8D:E4
    sig_hashalgo:   sha512
    signature:      30:65:02:30:06:32:B4:5C:28:11:85:0F:16:A3:96:DB:27:85:B8:BA:
    		9E:AA:06:53:63:74:B4:EE:94:A9:6A:7F:7D:1E:76:6D:40:3E:F5:C4:
    		BE:55:54:1D:11:06:E4:71:12:27:25:C0:02:31:00:B0:51:4E:5D:F4:
    		59:7B:39:17:40:DA:F3:E6:2D:76:E2:44:AE:B8:6D:14:BA:5F:DD:FB:
    		48:A6:E4:5F:33:91:72:3E:BA:BC:67:01:C9:F7:4D:D7:C9:AC:F4:A3:
    		FC:6D:B3
    
  • If an error message similar to modinfo: ERROR: Module ip_tables not found. is output, then the host does not satisfy the ip_tables loadable kernel module requirement.

If installing the ip_tables loadable kernel module is required, select your operating system below, and if applicable select the particular version of your operating system, then follow the instructions accordingly:

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

If installing the ip_tables loadable kernel module is required for this operating system, follow these steps (as root):

  1. Run this dnf command as root:

    dnf install kernel-modules-extra
    
  2. Reboot the host.

  3. Run this modprobe command as root:

    modprobe ip_tables
    

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

If installing the ip_tables loadable kernel module is required for this operating system, follow these steps (as root):

  1. Run this dnf command as root:

    dnf install kernel-modules-extra
    
  2. Reboot the host.

  3. Run this modprobe command as root:

    modprobe ip_tables
    

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

If installing the ip_tables loadable kernel module is required for this operating system, follow these steps (as root):

  1. Run this dnf command as root:

    dnf install kernel-modules-extra
    
  2. Reboot the host.

  3. Run this modprobe command as root:

    modprobe ip_tables
    

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.

If installing the ip_tables loadable kernel module is required for this operating system, follow these steps (as root):

  1. Run this dnf command as root:

    dnf install kernel-modules-extra
    
  2. Reboot the host.

  3. Run this modprobe command as root:

    modprobe ip_tables
    

This operating system is not expected to require installing the ip_tables loadable kernel module.

This operating system is not expected to require installing the ip_tables loadable kernel module.