From: "John A. Sullivan III" <jsullivan@opensourcedevelopmentcorp.com>
To: Jason Williams <jwilliams@courtesymortgage.com>
Cc: Netfilter users list <netfilter@lists.netfilter.org>
Subject: Re: Saving IPTable rules..oops
Date: Thu, 30 Dec 2004 17:09:25 -0500 [thread overview]
Message-ID: <1104444565.2006.16.camel@localhost> (raw)
In-Reply-To: <6.1.2.0.0.20041230133624.02598318@corpmail.courtesymortgage.com>
On Thu, 2004-12-30 at 16:38, Jason Williams wrote:
> At 12:52 PM 12/30/2004, you wrote:
> >I don't think you can put your variables in /etc/sysconfig/iptables file.
> >It follows a particular pattern which is not that difficult to learn.
> >
> >If you want to use variables and stuff, you gotta write your own script
> >file and run it at bootup. I use do this way when my firewall rules were
> >less than 50 lines.
> >
> >Now my firewall rules are more than 500 lines so I edit the
> >/etc/sysconfig/iptables file directly. It is just an efficient way to load
> >the rules through this file.
>
>
> I see. so if i want to use variables, I need to edit/replace
> /etc/init.d/iptables then? with my own custom script?
> Sounds like i need to brush up on my scripting. :)
>
> Cheers,
>
> Jason
>
>
>
You could run a script to create the rules and then save them to the
iptables file.
--
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
john.sullivan@nexusmgmt.com
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net
next prev parent reply other threads:[~2004-12-30 22:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-29 18:03 Saving IPTable rules..oops Jason Williams
2004-12-29 18:23 ` Deepak Seshadri
2004-12-30 20:39 ` Jason Williams
2004-12-30 20:52 ` Deepak Seshadri
2004-12-30 21:38 ` Jason Williams
2004-12-30 22:09 ` John A. Sullivan III [this message]
2004-12-29 18:32 ` John A. Sullivan III
2004-12-29 20:15 ` R. DuFresne
2004-12-29 20:29 ` Jason Opperisano
2004-12-30 6:33 ` R. DuFresne
2004-12-29 20:30 ` Les Mikesell
2004-12-29 22:29 ` John A. Sullivan III
2004-12-30 0:08 ` Alistair Tonner
2004-12-30 6:45 ` R. DuFresne
2004-12-29 18:35 ` John A. Sullivan III
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1104444565.2006.16.camel@localhost \
--to=jsullivan@opensourcedevelopmentcorp.com \
--cc=jwilliams@courtesymortgage.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.