Date: Mon, 28 Jun 2010 17:33:26 -0400 From: Chris Buechler <cbuechler@gmail.com> To: "Luiz Gustavo S. Costa" <luizgustavo@luizgustavo.pro.br> Cc: freebsd-pf@freebsd.org Subject: Re: rdr + reply-to, some solution ? Message-ID: <AANLkTikwp2exi_fDniASauaPpEGX8FfgahZwRTlDmLUj@mail.gmail.com> In-Reply-To: <AANLkTimQDT9IOfmNxAJSzGRj3TCmtKNso8hqLXFQebLr@mail.gmail.com> References: <AANLkTimQDT9IOfmNxAJSzGRj3TCmtKNso8hqLXFQebLr@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 28, 2010 at 5:12 PM, Luiz Gustavo S. Costa <luizgustavo@luizgustavo.pro.br> wrote: > Hi all. > > I know there is a problem in using rdr with the reply-to, I usually > use some software to "rdr", as the rinetd, but it's not a pretty > solution. > > Is there any alternative? > > Below is an example of what I'm talking about. > > # Nat section > rdr on $if_ext2 proto tcp from any to 200.x.x.x port 80 -> 192.168.1.100 > # Rules section > pass in $if_ext2 reply-to ($if_ext2 $gw_ext2) proto tcp from any to > 200.x.x.x port 80 > That rule won't match traffic from that rdr. The dest has to be the 192.168.1.100 IP.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikwp2exi_fDniASauaPpEGX8FfgahZwRTlDmLUj>