All of lore.kernel.org
 help / color / mirror / Atom feed
From: Payal Rathod <payal-netfilter@scriptkitchen.com>
To: Netfilter ML <netfilter@lists.netfilter.org>
Subject: will port forwarding work here?
Date: Fri, 14 Jan 2005 10:35:08 -0500	[thread overview]
Message-ID: <20050114153508.GA1189@tranquility.scriptkitchen.com> (raw)

Hi,
I have 2 squid proxy on two different machines 192.168.0.10 and 
192.168.0.11 All my clients are configured to use 192.168.0.10:3128
Now I want a few specific clients to use 192.168.0.11:3128
Is it possible to write some kind of rule on 192.168.0.10 which will 
*properly* redirect traffic from 192.168.0.10:3128 to 
192.168.0.11:3128 for those clients.  A friend on chat suggested (he 
was not sure),

iptables -A PREROUTING -t nat -s 192.168.0.10 --dport 3128 \
 -j DNAT --to-destination 192.168.0.11

Is there anything else missing?

With warm regards,
-Payal



             reply	other threads:[~2005-01-14 15:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-14 15:35 Payal Rathod [this message]
2005-01-14 15:55 ` will port forwarding work here? Jason Opperisano
2005-01-14 17:10   ` Payal Rathod
2005-01-14 17:18     ` Jason Opperisano
2005-01-14 17:34       ` Payal Rathod
2005-01-14 17:36         ` Jason Opperisano
2005-01-14 16:11 ` Samuel Jean
2005-01-15 22:20 ` Jose Maria Lopez

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=20050114153508.GA1189@tranquility.scriptkitchen.com \
    --to=payal-netfilter@scriptkitchen.com \
    --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.