How To Reset Linux Firewall Automatically While Testing Configuration With Remote Server Over SSH Session

Posted on in Categories , , , , , , , , , last updated October 7, 2015

I would like to tell my Linux iptables firewall to flush out the current configuration every 5 minutes. This will help when I’m testing a new rules and configuration options. Some time I find myself locked out of my own remote server. How do I reset Linux firewall automatically without issuing hard reboot?