Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Stewart Thompson <stewart.thompson@shaw.ca>
To: Antony Stone <Antony@Soft-Solutions.co.uk>,
	netfilter@lists.netfilter.org
Subject: RE: Trigger firewall Script on IP Change:
Date: Sat, 05 Oct 2002 15:53:20 -0700	[thread overview]
Message-ID: <FLEKIPPLAEDMJMOOBBDPGEHDDBAA.stewart.thompson@shaw.ca> (raw)
In-Reply-To: <20021005223853.YOAC27697.mta05-svc.ntlworld.com@there>

Hi Antony:

	Thanks for the tip. I will have a look.
I new it was possible, I just wasn't sure how.

Regards,

Stu.......


-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org]On Behalf Of Antony Stone
Sent: October 5, 2002 3:39 PM
To: netfilter@lists.netfilter.org
Subject: Re: Trigger firewall Script on IP Change:

On Saturday 05 October 2002 11:03 pm, Stewart Thompson wrote:

> Hi All:
>
>         Can anyone tell me how to automatically trigger
> my firewall script to execute when the IP on the External
> Interface changes. Thanks.

If your external IP address is changing, you must be using DHCP...

If you're using ISCs dhcpcd, you can create scripts called
/etc/dhcpc/dhcpcd-<ifname>.exe where <ifname> is eth0, eth1, eth2 etc which
will get called whenever there's a new address on the interface.

man dhcpcd for a bit more info.

Antony.

--

I vote "no" to this proposal to form a committee to investigate whether we
should or should not hold a ballot on whether to vote yet.



      reply	other threads:[~2002-10-05 22:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-05 20:37 iptables with alias? Jeppe Sørensen
2002-10-05 20:53 ` Antony Stone
2002-10-05 21:52   ` Stewart Thompson
2002-10-05 22:03     ` Trigger firewall Script on IP Change: Stewart Thompson
2002-10-05 22:38       ` Antony Stone
2002-10-05 22:53         ` Stewart Thompson [this message]

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=FLEKIPPLAEDMJMOOBBDPGEHDDBAA.stewart.thompson@shaw.ca \
    --to=stewart.thompson@shaw.ca \
    --cc=Antony@Soft-Solutions.co.uk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox