On Saturday 24 January 2009 12:34:52 abdelkader belahcene wrote:
> hi,
> please i want to save the iptables for next sessions,
> now I have to run iptables  after each reboot.
> I tried iptables-save, it did't.
> thanks for help
> bela

Redirect it to a file:
iptables-save > target-file

You will also need to set it up to restore the rules from the file during 
bootup. This is done, iirc, by running
iptables-restore < target-file
That can be done in /etc/network/interfaces, but there is a particular syntax 
which escapes me at the moment. 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to