Forwarding another host
Michal Varga
varga.michal at gmail.com
Wed Jan 9 15:18:46 PST 2008
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 at gmail.com>
Stonehenge
More information about the freebsd-pf
mailing list