On Wed, Sep 28, 2005 at 08:23:27AM +0700, Olivier Nicole wrote:
> > why not just rewrite the specific host to where you
> > want it to go, even if it's a "null rewrite"?
> > 
> > one example:
> > rdr x10 1.2.3.4/32 port 80 -> 10.0.0.1 port 80 tcp
> > rdr xl0 0.0.0.0/0 port 80 -> 10.0.0.1 port 5280 tcp
> 
> 
> Oops, my bad, I mean how to by pass a redirection for a specific
> source host.
> 
> All clients should see their connection to port 80 be redirected,
> except one client that is allowed to go through unmodified.


rdr xl0 from 1.2.3.4 to any port 80 -> 0/0 port 5280 tcp
rdr xl0 0.0.0.0/0 port 80 -> 10.0.0.1 port 5280 tcp

0/0 as the target in a rdr rule means do not RDR at all.

-Guido

Reply via email to