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

Val Harris val.harris at attbi.com
Fri Jan 24 18:23:37 CST 2003


Kenneth Loafman wrote:
> 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
> 
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 

I'm running RedHat, so can only make suggestions.  Does /proc
survive reboots?  Maybe your unique information is surviving
there.

Sorry I couldn't be of more help.

Val
-- 
Val W. Harris                          val.harris at attbi.com

"If you have tried to do something but couldn't, you are far
better off that if you tried to do nothing and succeeded"
John T. Ragland, Jr.





More information about the Discuss mailing list