Re: Where can i find my Iptables script for the current Iptables configuration?

From: Ashok Aiyar (aiyar@ebv.mimnet.northwestern.edu)
Date: 07/23/02


From: Ashok Aiyar <aiyar@ebv.mimnet.northwestern.edu>
Date: 23 Jul 2002 01:24:02 GMT

On 22 Jul 2002 17:57:27 -0700,
    Shweta (sweta82_p@hotmail.com) wrote:
> Hello,
>
> I am a Linux newbie working on a cluster project and i need to know if
> there is any Linux file where the script for my current Iptables
> configuration is stored. I need this because I will be setting my
> iptables/firewall to a new configuration and sometime later will have
> to revert to the one prior to the newer setting. Please help me with
> this. Any pointer to this will be a help.

Really depends on what Linux distribution you use. You can however
save your current iptables rules, using the command
iptables-save > current-rules

The rules will be dumped into the file current-rules.

Later,
Ashok

-- 
Ashok Aiyar
RLU #51601



Relevant Pages

  • Google Summer of Code 2009: Student applies to create a Better IPTables Management Tool
    ... a student) and select the Linux Foundation ... The tool focuses on helping the user to perceive what a particular chains of rules in a particular table does to a user specified packet. ... As the project aims for better IPtables management tool, I can contribute with my hard earned 3 years experience in maintenance of firewalls. ... The tools helps the user to either select all the rules in the chain or some particular rules and tells the impact of the application of selected rules upon the incoming/outgoing packet. ...
    (Linux-Kernel)
  • Iptables and SAMBA - Im going MAAAAAAAAAAAAAAAAAADDDDDDD!!!
    ... On this linux box i have two net cards that go to two clients ... (samba works perfectly if i shut down iptables) ... #nelle regole - MODIFICARE SECONDO I PROPRI PARAMETRI ... #della rete Interna ...
    (comp.os.linux.networking)
  • Re: firewall performance throughput between Linux and OpenBSD
    ... > The firewall is used to connect a private network to the internet. ... > ftp-proxy and the linux box does not. ... Running with a full pf rules file or the wideopen version ... > full rules file using iptables. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: Help: My girlfriends XP box cant see my Linux samba shares
    ... Mike Martin wrote: ... >I've goggle'd all over and read ten different sites for Samba conf but I'm ... Just a checkup - this should show everything is shared on your linux box. ... iptables -P FORWARD ACCEPT ...
    (alt.os.linux)
  • Cant route through Linux box
    ... We have an SDSL connection with a few static IP's. ... I can ping the sdsl router 66.80.220.65 from the linux system. ... $IPTABLES -F OUTPUT ...
    (comp.os.linux)