Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2002 23:11:57 -0800
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        Jeff Koftinoff <jeffkoftinoff@mac.com>
Cc:        freebsd-ipfw@FreeBSD.ORG
Subject:   Re: Transparent proxy for connections originating on localhost
Message-ID:  <20020304231157.T87533@blossom.cjclark.org>
In-Reply-To: <C902FE50-3000-11D6-A2D9-003065709198@mac.com>; from jeffkoftinoff@mac.com on Mon, Mar 04, 2002 at 10:18:18PM -0800
References:  <20020304221203.Q87533@blossom.cjclark.org> <C902FE50-3000-11D6-A2D9-003065709198@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 04, 2002 at 10:18:18PM -0800, Jeff Koftinoff wrote:
> 
> On Monday, March 4, 2002, at 10:12  PM, Crist J. Clark wrote:
> 
> > On Mon, Mar 04, 2002 at 09:50:37PM -0800, Jeff Koftinoff wrote:
> >>
> >>
> >> Thank you very much for your reply.  So is 'fwd'' the right way to go
> >> for transparent proxying with the web browser and the proxy on the same
> >> machine?
> >
> > I'm not sure why one would want to proxy connections to a webserver on
> > the same machine.
> >
> 
> Content filtering for all http connections regardless of which browser 
> is installed.
> 
> >> With the same rule that I previously specified, when I try to
> >> access a remote web site, the 'fwd' rule blocks my connection and does
> >> not forward to 127.0.0.1:9999. The browser (links) just hangs on 
> >> 'Making
> >> connection'. and 'ipfw show' shows the counter increase.
> >
> > Hmmm... I thought you said it was working. I'm not clear on what is
> > and is not working.
> 
> When I originate the connection on an external computer, the fwd works. 
> When I originate the connection on the same computer that has the fwd 
> rule, the fwd rule causes the connect to hang.

Hmmm... Wouldn't happen to have a,

  pass ip from any to any via lo0

At the top of your rules?
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020304231157.T87533>