From owner-freebsd-pf@FreeBSD.ORG Mon Jun 28 21:12:29 2010 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AF90106566C for ; Mon, 28 Jun 2010 21:12:29 +0000 (UTC) (envelope-from luizgustavo@luizgustavo.pro.br) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id C67E38FC16 for ; Mon, 28 Jun 2010 21:12:28 +0000 (UTC) Received: by wwb28 with SMTP id 28so735834wwb.13 for ; Mon, 28 Jun 2010 14:12:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.129.7 with SMTP id m7mr4595095wbs.137.1277759542340; Mon, 28 Jun 2010 14:12:22 -0700 (PDT) Received: by 10.216.178.134 with HTTP; Mon, 28 Jun 2010 14:12:22 -0700 (PDT) Date: Mon, 28 Jun 2010 21:12:22 +0000 Message-ID: From: "Luiz Gustavo S. Costa" To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: rdr + reply-to, some solution ? X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2010 21:12:29 -0000 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 the "reply-to" not working with rdr rule. Thanks -- Luiz Gustavo Costa (Powered by BSD) *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ mundoUnix - Consultoria em Software Livre http://www.mundounix.com.br ICQ: 2890831 / MSN: contato@mundounix.com.br Tel: 55 (21) 2642-3799 / 7582-0594 Blog: http://www.luizgustavo.pro.br