Re: [squid-users] Blocking ports

From: Lieven Marchand <lieven.marchand@dont-contact.us>
Date: 18 Sep 2002 08:18:16 +0200

stuart.lamble@batepro.co.za writes:

> Hi Squid-users
>
> How do I block ports on squid.
> I want to prevent people from connecting to audio stream ports etc.
> They are consuming a lot of bandwidth.
>
> I do not want to block the sites, because that becomes and exhausting
> process.

In the default configuration only the Safe_ports are allowed.

acl Safe_ports port 80 81 82 21 443 563 70 210 8000 8080 8888 1025-65535
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http

http_access deny !Safe_ports

Remove any you don't want.

-- 
Honest praise, this stony part insisted, was what the bunglers of the world 
heaped on the heads of the barely competent.                -- Stephen King
Received on Wed Sep 18 2002 - 00:18:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:20 MST