Hi,
How do I make a backup of firewall rules in iptables;
And how do I use it to restore it later?
thanks,
iptables save config
Re: iptables save config
The command to save the rules is
To restore :
You might want to review your rules before saving:
Code: Select all
iptables-save > save_iptables.txt
Code: Select all
iptables-restore < save_iptables.txt
Code: Select all
iptables -L -nv --line-number