#
iptables
Software based firewall for...you know...firewalling things.
#
Backup iptables config to file
iptables-save > configbackup.txt
#
Restore iptables config from file
iptables-restore < configbackup.txt