[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Iptables: save rules?


> With ipchains there was a tool ipchains-save and restore. You could save
> all your rules in a file en restore them later with that file.
> Is there something identical with iptables?

I hope not.

ipchains-save and -restore are lacking anything to make complex things easy.
You cannot declare variables (IF-EXT, IF-INT,...) and you cannot use loops.
It is much nicer to use a bash or perl script to build up your rules.


Reply to: