Date: Wed, 09 Jan 2008 23:51:54 +0100 From: Michal Varga <varga.michal@gmail.com> To: Rodrique Heron <swygue@gmail.com> Cc: freebsd-pf@freebsd.org Subject: Re: Forwarding another host Message-ID: <1199919114.59461.10.camel@xenon> In-Reply-To: <4784F7E3.3060508@rodhouse.org> References: <4784F7E3.3060508@rodhouse.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1199919114.59461.10.camel>