Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2007 18:24:50 -0300
From:      "Nicolas Salvo" <nicolas.salvo@gmail.com>
To:        freebsd-pf@freebsd.org
Subject:   Re: NAT problem
Message-ID:  <c64c15310710191424m3216e63dr1791d6ff64efefd6@mail.gmail.com>
In-Reply-To: <20071019064041.GA18889@verio.net>
References:  <c64c15310710181741h78a4c0a0vfe32f3553ccd3915@mail.gmail.com> <20071019064041.GA18889@verio.net>

next in thread | previous in thread | raw e-mail | index | archive | help
It works!, thanks!


On 10/19/07, David DeSimone <fox@verio.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Nicolas Salvo <nicolas.salvo@gmail.com> 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



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