On Sat, Mar 06, 2004 at 02:53:01AM +0800, Fai wrote:
> Hi all,
>     In rules of ipf, i can use !10.1.1.0 to do compare
>     In rules of ipnat, could i use 
> rdr xl0 from 192.168.0.0/24 to !10.1.1.0/8 port = 80 -> 127.0.0.1 port
> 80 tcp
> to do compare?
>     I've try but its fail, (in ipfilter v3.4.31) is there any way to do
> that?
>  

No, with rdr you cannot do that.

You could do:
rdr xl0 from 192.168.0.0/24 to 10.1.1.0/8 port = 80 -> 0/0 port 80 tcp
rdr xl0 from 192.168.0.0/24 to any port = 80 -> 127.0.0.1 port 80 tcp

-Guido

Reply via email to