How do I save network packet filter settings for iptables?
Symptom:
I set up my firewall/packet filtering but after a reboot the rules are not there any more.
Solution:
After configuring the appropriate network packet filters for your situation, save the settings so they get restored after a reboot. Do so by typing the following command:
# /sbin/service iptables save
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
