Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2008 00:11:26 00200 (CEST)
From:      tomrapier <tomrapier@mailvault.com>
To:        freebsd-jail@freebsd.org
Subject:   Using pf to redirect traffic from a jail
Message-ID:  <20080912221126.7E4ADB6414A@gateway.mailvault.com>

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

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

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?


--=_12e67e3d4435dcd8aca2a1db1c16044b--





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