Re: restricting squid to a network card/subnet

From: sysadmin <sysadmin@dont-contact.us>
Date: Fri, 30 Apr 1999 18:14:43 +0100

----- Original Message -----
From: hans <hans.johnson@modusinc.com>
To: Squid List <squid-users@ircache.net>
Sent: Thursday, April 29, 1999 11:25 PM
Subject: restricting squid to a network card/subnet

>
> How does one restrict squid to only respond to one network interface or
one
> particular subnet?

acl allowedhosts src 10.1.2.0/24
acl alltherest src 0.0.0.0/0.0.0.0

note:- you can specifiy the subnet using / (slash) notation or full
subnet masks. you can specify multiple acl and http_access lines.

then:-

http_access allow allowhosts
http_access deny alltherest

This will allow all ip's on the class C 10.1.2.0 network access,
but deny all others.
Received on Fri Apr 30 1999 - 11:05:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:08 MST