Link to home
Start Free TrialLog in
Avatar of ranadastidar
ranadastidar

asked on

Blocking Access to the Net through Squid

I have installed squid and dhcpd in my linux box 8.0 its working fine, now I am interested to block some user to block internet access, I know there is some authintication tool for squid proxy, pls help.
Avatar of PsiCop
PsiCop
Flag of United States of America image

I wouldn't bother - I'd just set up an ACL on the router to the Internet and not let any port 80 traffic out except from the Squid server. That way people HAVE to go thru Squid to gte to the Internet.
Avatar of ranadastidar
ranadastidar

ASKER

But I don't have any router, anyone idea about ncsa configuration?
How do you reach the Internet if you don't have a router?
Actually I am using DSL connection and use my isp's DNS server as well as router.
ASKER CERTIFIED SOLUTION
Avatar of PsiCop
PsiCop
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Possible way of doing PsiCop's b is to add a second NIC to the linux box and only connecter the router to the Linux box, so that everybody has to use the Linux box as a proxy server.

Then you will probably want to also investigate something like squidGuard which allows you to implement blacklisting of millions of sites: http://www.squidguard.org/

It's not so important to authenticate if you can simply stop people going to the sites you don't want them at.




PS, what type of DSL router do you have?

Sometimes you can achieve some level of configuration by pointing your web browser at the default gateway address.  You'll almost certainly have to use the command line interface to do anything sophisticated though.