Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Firewall Wizards: Re: Dumb newbie question

Re: Dumb newbie question

From: Kevin Sheldrake <kev_at_electriccat.co.uk>
Date: Fri, 06 Aug 2004 15:47:52 +0100

Hi

I'm not a Debian-head, but...

The startup script should be in somewhere like /etc/rc.d or /etc/init.d
and will most likely be called iptables.

This script will probably do an iptables-restore < /path/file.

It is the /path/file that you are looking for. On my gentoo box it is in
/var/lib/iptables/rules-save.

The basic idea is to modify the current table with the iptables command
and then commit an iptables-save > /path/file to save the rules. You can
modify the file directly, however as it follows the format of the iptables
command.

www.netfilter.org has lots of reading on this.

Kev

> I'm just getting into Linux and iptables - a definite newbie!
>
> I've loaded Debian 2.4.18-bf24 and I have iptables 1.2.6a.
>
> My question is, where is the rule script stored? I want to start trying
> my own rules but I don't know where the file is to modify. I did find /
> -name rc.firewall and it finds nothing!

-- 
Kevin Sheldrake MEng MIEE CEng CISSP
Electric Cat (Bournemouth) Ltd
_______________________________________________
firewall-wizards mailing list
firewall-wizards_at_honor.icsalabs.com
http://honor.icsalabs.com/mailman/listinfo/firewall-wizards
Received on Aug 07 2004
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos