pf rules vs DHCP

Kevin Wilcox kevin.wilcox at gmail.com
Sat Dec 1 23:04:20 UTC 2012


On Dec 1, 2012 3:55 PM, "Laszlo Danielisz" <laszlo_danielisz at 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


More information about the freebsd-pf mailing list