[NTLUG:Discuss] Iptables config file... where?

Kenneth Loafman ken at lt.com
Fri Jan 24 14:59:41 CST 2003


MadHat wrote:
> On Fri, 2003-01-24 at 09:43, Kenneth Loafman wrote:
> 
>>This is a really stupid question... where does iptables hide the firewal 
>>config file/script?  I can run 'iptables -L' and things are configured, 
>>possibly defaults, but I need to make some additions, and I can't seem 
>>to find the config file.  Even the man page does not even have a FILES 
>>section, so why/where are they hiding it?
>>
>>This one is on a Debian system.
>>
> 
> 
> 
> dpkg -p iptables
> 
> /etc/default/iptables
> 
> 

Been through all of the above,
'locate iptables' returns the usual suspects,
grep'ed /etc/init.d for iptables use, none,
grep'ed /etc recursively for iptables use, none,
grep'ed /var recursively for iptables use, none.

Its a mystery where the config comes from.  I noticed that a couple of 
ports unique to us are in the FORWARD table, so these are not default 
settings.  They survive after boot, on a custom kernel I geened a few 
months ago, so they have to be saved somewhere outside the kernel.

I just can't find where.

...Ken





More information about the Discuss mailing list