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

Re: iptables question - location



>>>>> "Curtis" == Curtis Vaughan <curtis@npc-usa.com> writes:

Curtis> I would like to edit the iptables script file, which according
Curtis> to one source should be located in /etc/rc.d/init.d/iptables
                                                ^^^^^

No rc.d in Debian.  dpkg -S says:

# dpkg -S /etc/init.d/iptables
iptables: /etc/init.d/iptables

This is from iptables 1.2.6a-6 from sid (but should be there in whatever
version Woody has too).  It obviously won't be in Potato since Potato
predates Linux 2.4 and iptables.

Curtis> Is this a script I need to create from scratch?

I built mine from scratch.  It's not really that hard if you read the
iptables docs.

Curtis> and is this the appropriate location for it then?

Sure, as long as you know how Debian (SysV) init works (symlinks in
/etc/rc?.d.

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

Attachment: pgp_0zSDPybOP.pgp
Description: PGP signature


Reply to: