From: Aaron Clausen <mightymartianca@gmail.com>
To: netfilter@vger.kernel.org
Subject: Re: Squid Redirection
Date: Tue, 5 Jan 2010 14:45:02 -0800 [thread overview]
Message-ID: <8ec0428d1001051445j60c7a32q25d34e8b0db7560a@mail.gmail.com> (raw)
In-Reply-To: <4B4235A3.2010409@wow-ia.net>
On Mon, Jan 4, 2010 at 10:38, Kenneth Sande <sandekt@wow-ia.net> wrote:
> I do it this way for my one internal subnet. There may be more and better
> options, but this works for me.
>
> "iptables -t nat -A PREROUTING -i ${INT_INTERFACE} -s ${INT_NETWORK} -p tcp
> --dport 80 --sport 1024:65535 -m state --state NEW,ESTABLISHED,RELATED -j
> REDIRECT --to-port 3128"
>
> Squid must also be set up to accept transparent connections.
Thanks. Now for another question. I have about a dozen workstations
that I want to bypass squid (they are in the same subnet as the
workstations that I want traffic sent through squid). Reading squid's
documentation, they recommend that this be done at the client end or
via iptables. What's the rule to allow these hosts to bypass squid?
--
Aaron Clausen
mightymartianca@gmail.com
next prev parent reply other threads:[~2010-01-05 22:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-04 18:31 Squid Redirection Aaron Clausen
2010-01-04 18:38 ` Kenneth Sande
2010-01-05 22:45 ` Aaron Clausen [this message]
2010-01-05 23:24 ` Kenneth Sande
2010-01-06 9:41 ` Mart Frauenlob
2010-01-06 10:12 ` Mart Frauenlob
2010-01-05 9:36 ` Mart Frauenlob
2010-01-05 10:31 ` John Haxby
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=8ec0428d1001051445j60c7a32q25d34e8b0db7560a@mail.gmail.com \
--to=mightymartianca@gmail.com \
--cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).