From: Michael Gale <mgale@utilitran.com>
To: netfilter@lists.netfilter.org
Subject: Running other commands / scritps
Date: Tue, 9 Dec 2003 10:11:00 -0700 [thread overview]
Message-ID: <20031209101100.7dd37e4e.mgale@utilitran.com> (raw)
Hello,
Two questions:
1 - first -- I have a firewall implementation that requires 22 virtual IP's so I have a file for each IP to help in administering the firewall. Each IP has it owns user defined chain as well.
Anyways I have about 10-15 variables that each script needs -- I do not want to add all the variables to the top of every script all the time. Adding a new one is also a pain in the A$$.
Does anyone know how I could make a set of global variables that the firewall scripts can access when they start up.
I know it is kind of off topic :(
2. -- Is there a way to have iptables run a command or execute another script based on a rule :)
--
Michael Gale
Network Administrator
Utilitran Corporation
next reply other threads:[~2003-12-09 17:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-09 17:11 Michael Gale [this message]
2003-12-09 17:27 ` Running other commands / scritps Ralf Spenneberg
2003-12-09 18:03 ` Michael Gale
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=20031209101100.7dd37e4e.mgale@utilitran.com \
--to=mgale@utilitran.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.