NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

npf dynamic interface nat



Greetings,

I know npf has dynamic interface handling and this
is great, but construction like

map tun0 dynamic $acl_local -> inet4(tun0)

is not working in NetBSD-8-STABLE if tun0 do not
exist, because inet4(tun0) return nothing.
More than that - npf will refuse to load
if server will be occasionally rebooted.

This is also related to static interfaces -
sometimes we need to assign IP through mechanism
other than rc(8).

Is there any clue to use NAT on
dynamic interface with dynamic address?

--
Sincerely yours,
	Veselov


Home | Main Index | Thread Index | Old Index