Hi all, im coding a frontend for iptables based on php and mysql. But i have an issue when i try to delete a group of rules, it cant be done. suppose this a chain called "x1" delete the chain implies - empty the chain - delete all rules that reference the chain the first line is easy to do with iptables -F x1 , but if (as an example) in filter::INPUT i have 2 or more references to this chain, executing iptables -D INPUT -j x1 will delete only the first one and not all rules that references x1. Does exist any way to do this from command line using iptables, or code a script to do this is the solution? Thank you.