All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dawid Kuroczko <qnex@atlantis.ssw.krakow.pl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] split traffic
Date: Tue, 15 Oct 2002 00:09:30 +0000	[thread overview]
Message-ID: <marc-lartc-103464063604506@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102258819906396@msgid-missing>

On 14 Oct 2002, Omar Armas wrote:

> Now I have the above network working. Users from class 10.0.0.0/24 go
> out through the adsl router, and the servers via the DS0.
> 
> NowI want to put a transparent proxy with squid, but if I configure it
> with just:
> 
> iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j
> REDIRECT --to-ports 3128
> 
> http requests are processed via the DS0(this is because of the default
> gw , I suppose), and I want them to go out via the adsl
> 
> My question is, how can I make that http requests go via the adsl with a
> transparent proxy with this network configuration?
> 
> I've thought it must be the OUTPUT chain. But with what rule?

None. :-)

Do not think of it as packet mangling, but as a squid configuration.

To be exact, there are two config values which should be especially
interesting for you:
 tcp_outgoing_address 192.168.4.55
 udp_outgoing_address 192.168.4.55
...where 192.168.4.55 is the IP of your ADSL connection interface. :-)

HTH, HAND,
  QNeX

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-10-15  0:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-28 12:15 [LARTC] split traffic Emil Terziev
2002-05-28 16:36 ` Stef Coene
2002-10-01 22:27 ` Omar Armas
2002-10-01 22:35 ` Martin A. Brown
2002-10-14 20:55 ` Omar Armas
2002-10-15  0:09 ` Dawid Kuroczko [this message]

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=marc-lartc-103464063604506@msgid-missing \
    --to=qnex@atlantis.ssw.krakow.pl \
    --cc=lartc@vger.kernel.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.