Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Nov 1998 22:11:32 +0800 (WST)
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        Jason McKay <jasonm@webace.com.au>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Squid & Restricting Access
Message-ID:  <Pine.BSF.4.05.9811052209570.23114-100000@odyssey.apana.org.au>
In-Reply-To: <2.2.32.19981105140336.006ac3b8@webace.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Nov 1998, Jason McKay wrote:

> I need some help in restricting access to our Squid proxy server.  We are
> tring to make it so only users from a 203.25.160.* IP address can use the
> Squid proxy.

In your squid.conf, add the lines:

acl ourallowedhosts src 203.25.160.0/255.255.255.0
acl all src 0.0.0.0/0.0.0.0

#allow sites to connect to us via HTTP

http_access allow ourallowedhosts
http_access deny all

#allow sites to use us as a sibling [optional]
#icp_access allow ourallowedhosts
#icp_access deny all

[.....]

Regards,

d.


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?Pine.BSF.4.05.9811052209570.23114-100000>