On Wed, 30 Nov 2005 11:13:52 +0100
Adrian Rudin <[EMAIL PROTECTED]> wrote:

> #1
> rdr pass on $lan_if proto { tcp } from $lan_nets to \
>          212.212.212.212 -> 192.168.2.10
> 
> #2
> rdr pass on $lan_if proto tcp from any to any port www -> \
>          127.0.0.1 port 3128
> 
> I want the usual web traffic to be redirected through the proxy (rdr 
> #2). The exception is one external ip wich should be redirected to 
> another internal ip in my dmz (line #1).
> 
> How do i tell pf to process rdr #1 first? Because it dosen't 

rdr pass on $lan_if proto tcp from { $lan_nets, !w.x.y.z } -> a.b.c.d

should do the trick.

-- 
Regards, Ed http://www.usenix.org.uk - http://irc.is-cool.net 
A TCP/IP stack was the worst feature windows ever got
~~
~~
:wq

Reply via email to