PDA

View Full Version : Hows the best way to import iptables rules?



pedrommone
April 28th, 2013, 11:20 AM
Im trying to reach the best way to manage my firewall settings remotely, the best way I have is importing the settings from a http-json. Witch I can manage with PHP. Is this a good way? I set a cron job with a bash script to flush all the settings and set them again every 12 hours?