----- Original Message ----- From: "Phil Dibowitz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 29, 2002 3:22 PM Subject: Re: Filtering with a dynamic address
> Jerry Murdock wrote: > > >>I think you can use 0.0.0.0/32 and 'ipf -y' will reassign the > >> > > Correct. Add to dhclient-exit-hooks, along with DNS update scripts if > > necessary. Or to ppp-linkup if it's a PPPoE connection. > > > > Since when has this been possible?! I remember a conversation not too long ago > on this list about how there was no equivalent for ipnat's 0/32 in ipfilter... > > Phil Your right. I was merely thinking of syncing IPF with the changing interface address. As far as the rules go, the only thing I know that will work is "to any" if your actually listening on the external interface, but I haven't tested extensively. IF I run anything on the FW/Gateway machine meant for the public 'net, it is in a jail and IPNAT takes care of the redir to the jailed IP. Of course, writing something to do a quick search/replace/reload rules for an address change would be fairly trivial to stick in dhclient-exit-hooks or ppp.linkup. Jerry
