From: Joshua N Pritikin <jpritikin@pobox.com>
To: netfilter@lists.netfilter.org
Subject: Re: FAQ 3.13, but on the same box
Date: Mon, 19 Jul 2004 07:30:59 +0530 [thread overview]
Message-ID: <20040719020059.GC679@always.joy.eth.net> (raw)
In-Reply-To: <200407181844.22744.Antony@Soft-Solutions.co.uk>
[-- Attachment #1: Type: text/plain, Size: 957 bytes --]
On Sun, Jul 18, 2004 at 06:44:22PM +0100, Antony Stone wrote:
> On Sunday 18 July 2004 6:32 pm, Joshua N Pritikin wrote:
> > I understand how to set up a transparent proxy. However, it is
> > possible to run a transparent proxy and web browser on the same box?
>
> Yes.
>
> > What if I put the proxy on a loopback interface and REDIRECT port 80
> > to port 3128 the loopback? Would that work?
>
> Sounds good to me.
>
> http://www.squid-cache.org/Doc/FAQ/FAQ-17.html#ss17.4
This FAQ doesn't address my question. I also looked at "Transparent
Proxy with Linux and Squid mini-HOWTO" by Daniel Kiracofe.
So far, all docs assume that the squid-box and the browser box are
different machines.
Hrm, I think I need to add an OUTPUT rule that matches on the owner.
If --uid-owner=proxy then the packet should not REDIRECT back to port
3128. Something like that?
--
A new cognitive theory of emotion, http://openheartlogic.org
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-07-19 2:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-18 17:32 FAQ 3.13, but on the same box Joshua N Pritikin
2004-07-18 17:44 ` Antony Stone
2004-07-19 2:00 ` Joshua N Pritikin [this message]
2004-07-19 8:51 ` Antony Stone
2004-07-19 9:44 ` Joshua N Pritikin
2004-07-19 9:56 ` Antony Stone
2004-07-20 13:42 ` Joshua N Pritikin
2004-07-20 13:55 ` Antony Stone
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=20040719020059.GC679@always.joy.eth.net \
--to=jpritikin@pobox.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.