Mailing List Archive

RE: how to start iptables when system upping?
if u don't know how to make an initd scrtip, u can simply use netconfig to
disable automatic
starting of eth0,eth1.. and then in the rc.local script you can run the
iptables rules or whatever,
and than start the eth0,eth1 manually in the end of the rc.local like this:
/sbin/ifup eth0
which should run the init scripts automatically.

* - * - *
Tzahi Fadida
Tzahi@mailandnews.com
Fax (+1 Outside the US) 240-597-3213
* - * - * - * - * - *


-----Original Message-----
From: netfilter-admin@lists.samba.org
[mailto:netfilter-admin@lists.samba.org]On Behalf Of Nigel Morse
Sent: Tuesday, July 24, 2001 11:51 AM
To: 'Danny Rappleyea'; 'netfilter@lists.samba.org'
Subject: RE: how to start iptables when system upping?


why not just make it a normal initd script that runs before the network
comes up?

cheers
Nigel

> I did the same thing with /etc/rc.d/rc.local to start my
> script. Because
> this loads late in the boot process, I made a safe config to load when
> iptables starts. It's a quicky ruleset to allow ping'ing the
> box, ssh in,
> and dropping everything else - which I saved using "service
> iptables save".