views:

30

answers:

1

How do I block all connections from clients to any website?

I have had the client computers to use my linux machine with squid installed as a proxy server. I am new to squid and I have installed it in my linux box. I wanted to see if it is really working. How should I configure squid.conf to block all client request to the proxy. If I could make this work then I'll proceed to my next move which is to limit the bandwidth for each client computers.

Please help me.

+1  A: 

Add this to squid.conf:

http_access deny all

Then restart squid (or just squid -k reconfigure).

Mark Nottingham