From: Kenneth Sande <sandekt@wow-ia.net>
To: Aaron Clausen <mightymartianca@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Squid Redirection
Date: Mon, 04 Jan 2010 13:38:27 -0500 [thread overview]
Message-ID: <4B4235A3.2010409@wow-ia.net> (raw)
In-Reply-To: <8ec0428d1001041031t5362a011ie9c19ff589cb38c@mail.gmail.com>
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.
-Ken Sande/KC8QNI
Aaron Clausen wrote:
> I'm running Squid on my gateway router (on the internal ethernet only
> of course) and have been struggling to figure out how to redirect port
> 80 traffic to it (transparent proxy). All the instructions I've seen
> are for Squid hosted on another server. Anyone have any tips?
>
>
next prev parent reply other threads:[~2010-01-04 18:38 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 [this message]
2010-01-05 22:45 ` Aaron Clausen
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=4B4235A3.2010409@wow-ia.net \
--to=sandekt@wow-ia.net \
--cc=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 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.