To allow http_access for some IP or access you need to define ACL (access control list) to work with squid proxy server.
Squid configuration file located at /etc/squid/squid.conf. Open file using a text editor:
# vi /etc/squid/squid.conf
Please try this one for some single IP address:
------------------------------------------------
acl all src 0.0.0.0/0.0.0.0
acl allow_list src 10.0.0.0/255.255.0.0
http_access allow allow_list
http_access deny all
If you want to give access to some specfic range of IP:
-------------------------------------------------------
acl our_networks src 192.168.1.0/24 192.168.2.0/24
http_access allow our_networks
http_access deny all
And finally Save and close the file. Start squid proxy server by using command given below:
-------------------------------------------------------------------------------------------
chkconfig squid on
/etc/init.d/squid start
JPC-Daniel
____________
JaguarPC.com