SQUID:How can I block my LAN clients accessing Internet
Hi
How can I block Maximum of my clients accessing the Internet.I want to allow only few of my clients. mwj |
if you wanna allow few Lan user to use squid then find the ip address of those users and
Do the following in your squid.conf ----------------------------------------------------------------------------------------------- acl validuser src 192.168.0.4/255.255.255.0 #Line 1 acl rangeofvaliduser 192.168.0.6-192.168.0.20/255.255.255.0 #Line 2 http_access deny all http_access allow validuser http_access allow rangeofvaliduser ---------------------------------------------------------------------------- Now in line u can give the ip of a specific user which u wanna give access to net. And from Line2 you can specify a range of user who are allowed to connect internet thruogh proxy Also here validuser and rangeofvaliduser are the user defined variable assigned to the range of ip address or a specific ip address. |
All times are GMT -5. The time now is 01:00 PM. |