NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How do people use npf with dhcpcd?
On Tue, 30 Dec 2025 07:19:40 -0600 (CST)
"John D. Baker" <jdbaker%consolidated.net@localhost> wrote:
> I need to be able to track the public IP across changes which is what
> the ifaddrs() operator in npf can do, but ifaddrs() returns a list of
> all addresses with (currently) no mechanism to select/exclude members
> of that list. Rules for the public IP are not appropriate for the
> private network and vice versa.
I think these functions are designed to simply provide a list of
configured IP addresses and nothing more. I'm not exactly sure what you
are trying to achieve, but I think in pass/block rules you can specify
your static IP address and these should apply before any other (DHCP)
addresses.
Home |
Main Index |
Thread Index |
Old Index