Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2012 18:04:19 -0500
From:      Kevin Wilcox <kevin.wilcox@gmail.com>
To:        Laszlo Danielisz <laszlo_danielisz@yahoo.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: pf rules vs DHCP
Message-ID:  <CAFpgnrPi140TaSTyz_5XHDQSc_pxTsLhOAsjq-6yC2gN-8kd-w@mail.gmail.com>
In-Reply-To: <33ED1440B7AE4229B166A4CE4C131DF6@yahoo.com>
References:  <33ED1440B7AE4229B166A4CE4C131DF6@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 1, 2012 3:55 PM, "Laszlo Danielisz" <laszlo_danielisz@yahoo.com>
wrote:
>
> Hi Everybody,
>
> Today I just found out that my pf rules are not loaded on boot if I
configure my machine's interface with DHCP

If you use your interface in your rules, for example,

pass in on em0

then you can tell pf to adapt to a changing IP on that interface with

pass in on (em0)

This works for interfaces with DHCP-provided addresses but introduces some
ambiguity.

kmw



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFpgnrPi140TaSTyz_5XHDQSc_pxTsLhOAsjq-6yC2gN-8kd-w>