All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mason Schmitt <mason.schmitt@sunwave.net>
To: netfilter@lists.netfilter.org
Subject: rewriting destination port of outbound packets
Date: Thu, 10 Mar 2005 11:20:10 -0800	[thread overview]
Message-ID: <42309DEA.4040308@sunwave.net> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am attempting to configure a Linux box (mandrake 10.1 - iptables
1.2.9) to redirect http, ftp, real, winmedia, quicktime, and nntp to a
Netapp NetCache transparent caching proxy.

Here is my network layout:

~       Net
~        |
~  Linux router/fw
~        |
- ------switch-------
|             |
clients     cache

Starting first with http, I have made use of fwmark and iproute2 to
first mark traffic from our network to destination port 80 and then
route that traffic, out the same interface it came in on, to the web
cache.  The problem I am trying to resolve is that the traffic that I am
routing to the cache still has the  destination port 80.  I think this
needs to be 3128 (The cache accepts connections on port 3128).

So, is it possible to rewrite the destination port in this scenario?

- --
Mason Schmitt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCMJ3qbip6upg8pq8RAomJAKCVqlt6m45/Ib/mBX5SSTH/7aqVegCgj8Y1
4bV9hrjcqvqXxRv3jA2Vqt4=
=uNK8
-----END PGP SIGNATURE-----


             reply	other threads:[~2005-03-10 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-10 19:20 Mason Schmitt [this message]
2005-03-11 11:36 ` rewriting destination port of outbound packets Jason Opperisano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42309DEA.4040308@sunwave.net \
    --to=mason.schmitt@sunwave.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.