Search squid archive

[squid-users] squid: Not to impose any squid rule when accessing local web servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All

My network address is 191.168.0.0
Squid is running on 192.168.1.1
Threre are many web server running on different machines, say on
192.168.1.10  192.168.1.20  192.168.1.30  192.168.1.40

My requirement is –
When a user of any machine of my network try to access any webserver
on my network, squid should not impose any rule e.g checking for
ip-adderss or port or authentication etc.

I have added a acl and allowed it as below in squid.conf as –
acl intranet-web dst 192.168.5.0/24
http_access deny !intranet-web

Sequence in squid.conf file is as below. My problem is with this
lines, squid is bypassing rules for all machines!

Please help me in figuring out the problem.


acl QUERY urlpath_regex cgi-bin \?
acl all src 0.0.0.0/0.0.0.0
acl allowedmachines src 192.168.155.13 192.168.155.207 192.168.5.176
192.168.5.175
acl allowedtime time 08:00-10:00
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl intranet-web dst 192.168.5.0/24
acl Safe_ports port 80 # http
acl CONNECT method CONNECT
acl ncsa_users proxy_auth REQUIRED

http_access allow localhost
http_access deny !intranet-web
http_access allow allowedmachines ncsa_users allowedtime Safe_ports
http_access deny !Safe_ports
http_access deny all


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux