Subject: Re: lame ipf question
To: None <wojtek@wojtek.3miasto.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-users
Date: 07/05/2001 21:50:03
On Thu, Jul 05, 2001 at 09:03:24PM +0200, wojtek@wojtek.3miasto.net wrote:
> how to redirect any connection outside to anything on port 80 to port for
> example 40 locally?

i guess something like this:
rdr ifx 0.0.0.0/0 port 80 -> 127.0.0.1 port 40

remplace ifx by the interface name where the packets to be redirected comes
in.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--