[sisela] writting on the disk

Martin Ling sisela@earth.li
Sat, 15 May 2004 13:30:59 +0100


On Sat, May 15, 2004 at 10:00:05AM +0300, chialda@xnet.ro wrote:
> 
> with sisela , can i write some firewall files on my floppy, and to use
> them on the booting precess ?

Yes. The simplest way to do this is to enter the rules as you'd like
them, then save them to a file on the floppy with iptables-save.

iptables-save > /floppy/iptables-rules

Then add to your boot.sh script:

iptables-restore < /floppy/iptables-rules

to restore them from the disk at startup.


Martin

-- 
http://the.earth.li/~martin/