Debian iptables script & init.d
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Nov 30 15:38:50 UTC 2005
On Tue, Nov 29, 2005 at 06:23:33PM -0500, Alan Cohen wrote:
> Hello all
>
> (Old) RedHat had an rc.local which I used to execute my iptables script.
> (New) Debian apparently doesn't allow for such a technique.
>
> Is creating a SysVinit script in /etc/init.d (and then using
> update-rc.d) the proper way to execute my iptables script?
Yes, or you install a package like shorewall which makes it much simpler
to manage your iptables rules and includes a startup script already. I
am not going back to manual messy iptables rules again.
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list