Smart way to do it is to setup a cron job to run shell script that will flush (or restore to default working ruleset) iptables rules every 10 minutes.