On 2012-08-28 04:55, Arturo Borrero wrote:
Maybe the point would be to generate with Bash a iptables-restore ruleset to load to kernel, but not load the ruleset directly from Bash...
Correct. The syntax of iptables-restore is similar to the one of iptables, with the addition of the ordering that needs to be respected. Then, simply issue `iptables-restore < /path/to/ruleset`.
- Julien -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html