Hot answers tagged firewall
iptables stores the rules in memory but the ruleset created by iptables-save ruleset-name can be found in the file /var/lib/iptables/ruleset-name These can be restored by invoking iptables-restore <ruleset-name>. I can only confirm this for Ubuntu 12.04.03 LTS - maybe this location has changed in later versions of the iptables-package. I think ...
Only top voted, non community-wiki answers of a minimum length are eligible