From owner-freebsd-pf@FreeBSD.ORG Fri Oct 19 21:24:58 2007 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 4632516A41B for ; Fri, 19 Oct 2007 21:24:58 +0000 (UTC) (envelope-from nicolas.salvo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id B881A13C46E for ; Fri, 19 Oct 2007 21:24:57 +0000 (UTC) (envelope-from nicolas.salvo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so849329uge for ; Fri, 19 Oct 2007 14:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=XvQq18rpVMoGBbmMPX4oKTOuimjbWeNo6UJWB5xLqKo=; b=AYHL+bVs9NnaF05EhZe3QTvpI9QyR18m/P5F24TYE3YJEXtncdeGtdio3TUQqwoQQJoDh28pGj5Q9ZUe0Q2IbrOjNOUmozoVmGFH4dQCkUzVfzybkCSnYwDQEy7iYWAmQQaCMmYHV5NRq56PSNuc++nAcJKtR5lRMMRGMwxKMc0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DcSLmQHevdq6pi/LfZ+UCifqI+neQvEgxSzlKoAUifoGbV10b0LTJMTog9zUtzgAaCrrS801Oa7paqk5xBiv9nF+YPwcbPH5CRnTaN7CH6LDVbg4gQ0UTaxD8Vj/bOTgmP3ZHdIQGXr25uVnU4ekGi27Vdx9kuYFz4vm26ix1NA= Received: by 10.78.146.11 with SMTP id t11mr1719031hud.1192829090242; Fri, 19 Oct 2007 14:24:50 -0700 (PDT) Received: by 10.78.148.17 with HTTP; Fri, 19 Oct 2007 14:24:50 -0700 (PDT) Message-ID: Date: Fri, 19 Oct 2007 18:24:50 -0300 From: "Nicolas Salvo" To: freebsd-pf@freebsd.org In-Reply-To: <20071019064041.GA18889@verio.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071019064041.GA18889@verio.net> Subject: Re: NAT problem 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: Fri, 19 Oct 2007 21:24:58 -0000 It works!, thanks! On 10/19/07, David DeSimone wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Nicolas Salvo wrote: > > > > nat on $ext_if from $int_net to $proxy_bypass_needed port 80 -> $ext_if port 81 > > > > This was our best effort but we only changed the source port to 81, > > and we need to change the destination port. > > Use "rdr" command instead of "nat". > > The documentation talks around and around this without actually saying > it, but it is as simple as this: "nat" modifies the source IP / port. > "rdr" modifies the destination IP / port. > > - -- > David DeSimone == Network Admin == fox@verio.net > "This email message is intended for the use of the person to whom > it has been sent, and may contain information that is confidential > or legally protected. If you are not the intended recipient or have > received this message in error, you are not authorized to copy, dis- > tribute, or otherwise use this message or its attachments. Please > notify the sender immediately by return e-mail and permanently delete > this message and any attachments. Verio, Inc. makes no warranty that > this email is error or virus free. Thank you." --Lawyer Bot 6000 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQFHGFFpFSrKRjX5eCoRAjwxAJ9EEW/rwqqJzaZ0HszUTbRGmzZv0QCgl+kb > HEwbLHv7Stli8/QzMCJetUg= > =gDac > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" > -- Nicolas A. Salvo Capital Federal Buenos Aires - Argentina