/
Why am I Unable to Set IPTable Rules on my CIS HI?

Why am I Unable to Set IPTable Rules on my CIS HI?


Product Name

CIS Hardened ImagesĀ®

Product Version

Linux

Date

Feb 25, 2022



Ā 

Problem

I am updating my IP Tables, but upon reboot the customizations are not held.

Ā 

Solution

The required commands to save and make the adjustments to IPTables persistent across reboots on CIS Hardened RHEL v8 images are as follows:

{IPv4 changes} iptables-save >/etc/sysconfig/iptables {IPv6 changes} iptables-save >/etc/sysconfig/ip6tables

The iptables configurations are stored in the /etc/sysconfig/ directory

Keywords; iptable

Content by Label


Copyright Ā© 2020

Center for Internet SecurityĀ®


Ā 

Related content