How can I programmatically manage iptables rules on the fly?
From the netfilter FAQ: The answer unfortunately is: No. Now you might think ‘but what about libiptc?’. As has been pointed out numerous times on the mailinglist(s), libiptc was NEVER meant to be used as a public interface. We don’t guarantee a stable interface, and it is planned to remove it in the next incarnation … Read more