Subject: Re: Trying to redirect outgoing nat connections
To: Chris Lloyd <strawberry@toth.org.uk>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 11/07/2003 21:27:47
On Mon, Nov 03, 2003 at 11:33:56PM +0000, Chris Lloyd wrote:
> Hiya,
> 
> I'm trying to write an ipnat rule to redirect traffic going out of the
> private net onto the internet so that outgoing port 80 would be transparently
> redirected to a proxy server.
> 
> I started with an rdr rule,
> 
> rdr ex0 192.168.0.0/24 port 80 -> 192.168.0.254 port 8080

I gess ex0 is your internet inteface, from your other ipnat rules.
You want to use the LAN interface for this one.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 23 ans d'experience feront toujours la difference
--