Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2001 09:42:14 -0400
From:      "Ryan Masse" <mail@max-info.net>
To:        "Bill Moran" <wmoran@iowna.com>
Cc:        "FreeBSD-Questions" <freebsd-questions@freebsd.org>, <peter.kasala@heitec.sk>
Subject:   Re: IPFW or SQUID
Message-ID:  <001b01c0e90e$7028a620$fd00a8c0@Home>
References:  <00d201c0e8ea$652b9440$3a00a8c0@slowakei> <000f01c0e8e1$9fb50460$6d36120a@comsys.ntukpi.kiev.ua> <3B14F2B2.CDFED2DF@iowna.com>

next in thread | previous in thread | raw e-mail | index | archive | help
what you could do is redirect all traffic that is intended to port 80 to
that of your proxy so all traffic destined to the internet will be cached.
This eleviates the need for you to configure anything on the client side.

#       ${fwcmd} add 2001 fwd 127.0.0.1,8080 tcp from any to any 80

Ryan


> Also, use ipfw to block port 80 on the inside interface (assuming the
> proxy is running on 3128) and they won't be able to use natd to get out
> to the internet.
>
> Andrey Simonenko wrote:
> >
> > You should look at FAQ on http://www.squid-cache.org/
> > There is a special section in the FAQ about transparent proxy
> > support in Squid.
> >
> > ----- Original Message -----
> > From: Peter Kasala <peter.kasala@heitec.sk>
> > Newsgroups: lucky.freebsd.questions
> > Sent: Wednesday, May 30, 2001 1:17 PM
> > Subject: IPFW or SQUID
> >
> > > This is a multi-part message in MIME format.
> > >
> > > ------=_NextPart_000_00CF_01C0E8FB.258BFB20
> > > Content-Type: text/plain;
> > > charset="iso-8859-2"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > Hi, please help me.
> > >
> > > I must config ipfw or squid that user must use proxy server if he want
=
> > > to surf on the web. He have set up DNS. How can I force he use proxy =
> > > server squid.
> > >
> > > Thank you.
> > > If you have any question about me problem please write to me.
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
> --
> If a bird in the hand
> is worth two in the bush,
> then what can I get for
> two hands in the bush?
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001b01c0e90e$7028a620$fd00a8c0>