How to make iptables persistent across reboots ?

Solution Verified - Updated -

Issue

  • It appears that after a reboot, iptables begins wide open, and not with the firewall state as it was before reboot.
  • What is the trick to make iptables services persistent across reboots?
  • How can I save iptables rules?

Environment

  • Red Hat Enterprise Linux 5,6,7,8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content