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

more than one rdr



Is there a way to assign more than one ip to the $ext_if and do rdr
based on that?
like (pretend 192.168.0 is a public routable range)
rdr on $ext_if proto tcp from any to 192.168.0.5 port 80 -> 10.0.0.5
rdr on $ext_if proto tcp from any to 192.168.0.6 port 80 -> 10.0.0.6
My understanding is that pf will only see the port 80 and all traffic
would get matched against the first rule.
Is this the definition of "1 to 1 NAT"?
--Bryan