On Wed, Nov 30, 2005 at 11:13:52AM +0100, Adrian Rudin wrote:

> I have a question concering redirection.
> These two rdr's are in my pf.conf:
> 
> #1
> rdr pass on $lan_if proto { tcp } from $lan_nets to \
>         212.212.212.212 -> 192.168.2.10

You probably want 'on $ext_if' in this rule, not 'on $lan_if'.

If 212.212.212.212 is external, the connection is incoming on the
external interface and outgoing on the internal one (rdr only applies to
incoming connections, on the specified interface).

Daniel

Reply via email to