In some email I received from Guido van Rooij, sie wrote:
> On Sat, Feb 08, 2003 at 06:00:22PM +1100, Darren Reed wrote:
> > In some email I received from Jefferson Ogata, sie wrote:
> > [...]
> > > Possibly a nice enhancement to IP Filter would be to allow rules to be
> > > tagged as only applying where NAT has also occurred. Then your inbound
> > > 10 rule could be limited to cases where that destination address is the
> > > result of a rdr. In general, I think making filtering and NAT more
> > > integrated would benefit in a number of areas.
> > 
> > This is already possible with IPFilter 4.0alpha.
> 
> How?

When IPFilter NAT's then, it sets a flag internally to say it has done
so.  This flag can be represented in a filter rule.

e.g.

rdr foo0 201.1.1.1/32 port 80 -> 192.168.1.1 port 80 tcp
pass in quick on foo0 from any to any port = 80 with nat

Darren

Reply via email to