Dynamic IP and pf?

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Fri Jan 14 12:49:53 PST 2005

Christopher McGee <chris at xecu.net> writes:

> I have setup my pf ruleset using the parentheses.  I didn't realize it
> would auto update them.  I thought I would still need to reload the
> rules so that it re-reads the interface IP.  I still have the dilemma
> of dynamic dns and a couple of other scripts that I run, based on the
> IP, that will require being run if the IP ever changes.  I'm thinking
> there should be something I can do in /etc/dhclient.conf maybe to run
> them?

Sure; there are actually a few different ways.
See "man dhclient-script" for the characteristics of each.

More information about the freebsd-questions mailing list