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®