[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] squid problem



Hi Dilip,

To restrict proxy access to particular computers put these lines in your
squid.conf.
here the access control list (acl) name is `all'. Create multiple acl's if
the IP's of the machines are not in sequence.
Also do not forget to add the acl name to the http_access line.

acl all src 192.168.0.1-192.168.0.16/255.255.255.0
http_access allow all

The above lines allow access to the machines with IP's from 192.168.0.1 to
192.168.0.16
You can also give a single IP instead of the range.

Regards
Sunit Mathur

> We have installed RedHat 5.2 Linux in a pentium II pc. Also installed
> squid. When you given port no. 3128 in the squid.conf file then all the
> machines(Windows95) connected in the network are browsing available if the
> machines are configured in Netscape/Internet Explorer. How to give a
> particular pc for browsing.and what should we add in the squid.conf files.



--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.