Linux Certification, System Administration, Programming, Networking Books
Squid, anyone can help

I´m tring to find a way to block specific addresses for specific users behind my squid proxy. Block addresses for all users is not a problem, but set a terminal to access something an other to do not is taking me time to resolve.

The server is a RedHat.

I try to help you!

I got my squid.conf like this

PERMIT URL 1    (url 1 are example your enterprise mydomain.com)
DENY IP 1 (range 10.1.0.0 10.1.255.255)  <-- this IP are the computers that ONLY you want to browse your domain

PERMIT URL 2 (mail yahoo hotmail )
DENY IP 2 (10.2.0.0 10.2.255.255) <-- this computers are allow to navigate on my domain.com and any page with hotmail, mail or yahoo) but not another pages

PERMIT IP 3 (10.3.0.0 10.255.255.255) <-- this line allow to others computer on the network to naviagte on your domain.com, mail, yahoo, hotmail and other pages

Did you see the method????

Of course, url1, ip1 etc etc are definit before as ACL and then apply that above on the control list

Use WEBMIN to easy this task
 

Quick Links:
Do you have a Linux Question?

Linux Home: Linux System Administration Hints and Tips