From owner-freebsd-questions Thu Nov 5 06:11:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA16368 for freebsd-questions-outgoing; Thu, 5 Nov 1998 06:11:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from excelsior.apana.org.au (excelsior.apana.org.au [203.11.114.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA16363 for ; Thu, 5 Nov 1998 06:11:06 -0800 (PST) (envelope-from dean@odyssey.apana.org.au) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by excelsior.apana.org.au (8.8.8/8.8.8) with ESMTP id WAA08386; Thu, 5 Nov 1998 22:10:37 +0800 (WST) (envelope-from dean@odyssey.apana.org.au) Date: Thu, 5 Nov 1998 22:11:32 +0800 (WST) From: Dean Hollister To: Jason McKay cc: questions@FreeBSD.ORG Subject: Re: Squid & Restricting Access In-Reply-To: <2.2.32.19981105140336.006ac3b8@webace.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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