Re: Forwarding another host

[ Available lists | Index of freebsd-pf | Month of Jan 2008 | Week of 9 Jan 2008 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Michal Varga <varga.michal@gmail.com>
Date
9 Jan 2008 23:18:46
Subject
Re: Forwarding another host
Message-ID
1199919114.59461.10.camel@xenon

In reply to
References to

[ Hide this part ]
 
On Wed, 2008-01-09 at 11:35 -0500, Rodrique Heron wrote:
> Good Day-
>
> I'm running FreeBSD 6.2 and I want to know if forwarding to a external
> host is supported by PF. I want to forward all incoming traffic to port
> 22 to another host, but it does not work, forwarding to a Jail works
> though. Here are my configs:

> rdr on $ext_if proto tcp from any to $host_ip port 22 -> $external_host
> port 22

This surely works, I've been using it for years (I think everyone
does).

Maybe your $external_host is blocking incoming traffic, or doesn't have
a clean route to reply?

m.

--
Michal Varga <varga.michal@gmail.com>
Stonehenge



Elapsed time: 0.094 seconds