Organizational Research By

Surprising Reserch Topic

Question:how to Save Firewall Rules?


 

 Save Firewall Rules

To save firewall rules under CentOS / RHEL / Fedora Linux, enter:
# service iptables save
In this example, drop an IP and save firewall rules:
# iptables -A INPUT -s 202.5.4.1 -j DROP
# service iptables save

For all other distros use the iptables-save command:
# iptables-save > /root/my.active.firewall.rules
# cat /root/my.active.firewall.rules

 
asked Sep 13, 2013 in LINUX by anonymous
edited Sep 12, 2013
0 votes
26 views



Related Hot Questions



Government Jobs Opening


...