Re: Access to a non-standard port via squid

From: Tilman Schmidt <Tilman.Schmidt@dont-contact.us>
Date: Tue, 01 Feb 2000 11:36:11 +0100

At 10:11 01.02.00 +0000, Ray Hillman wrote:
>I need to allow access to a web site, where they have chosen
>to use port 81 rather than port 80. I know that to allow access
>to port 81 I need to add it to the Safe_ports acl in squid.conf,
>but is there a way that I can allow access only to port 81 at
>the site in question rather than port 81 at all sites?

Sure. You just have to define the appropriate ACLs yourself, eg.:

acl silly_port port 81
acl silly_server dstdomain site.in.question

and then add the line

http_access allow silly_port silly_server

in front of the

http_access deny !Safe_ports

line.

HTH
Tilman

-- 
Tilman Schmidt          E-Mail: Tilman.Schmidt@sema.de (office)
Sema Group Koeln, Germany       tilman@schmidt.bn.uunet.de (private)
Received on Tue Feb 01 2000 - 03:52:13 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:52 MST