Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2008 02:24:29 00200 (CEST)
From:      tomrapier <tomrapier@mailvault.com>
To:        freebsd-jail@freebsd.org,
Subject:   Re: Using pf to redirect traffic from a jail
Message-ID:  <20080913002429.E2831B64149@gateway.mailvault.com>

next in thread | raw e-mail | index | archive | help
This is a MIME encoded message.

--=_9d3d3f278519c1fbeeedb637f6efdcee
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On 13-Sep-2008 00:30:50 +0200, you wrote:
> Hello,
> 
> I'm having trouble redirecting traffic from a jail using pf. An
example
> rule is this:
> 
>   rdr on lo0 proto tcp from 10.24.0.1 to !10.24.0.1 -> 127.0.0.1 port
> 8080
> 
> The jail is assigned 10.24.0.1, which is an alias on the loopback
> interface. nc -l 8080 is running on the host for testing. 
> 
> In the jail, running nc -vv 192.168.0.1 80 times out after a time,
and
> the listening nc doesn't pick up. 
> 
> What am I doing wrong?
> 
> 

solved it myself. needed a route-to rule.
--=_9d3d3f278519c1fbeeedb637f6efdcee--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080913002429.E2831B64149>