Link to home
Start Free TrialLog in
Avatar of sheepfarmer
sheepfarmer

asked on

Handling additional ports in Squid

Can Squid be configured to accept additional port parameters with a http request?
For instance, to access a particular web mail server, port 3000 is required, but the URL gets denied access

e.g.
  http://www.mailserver.com:3000
returns Access Denied and the following in the squid log :
 1146948287.184      8 <my ip> TCP_DENIED/403 1377 CONNECT <email server ip>:3000 - NONE/- text/html

SF
Avatar of ravenpl
ravenpl
Flag of Poland image

go to squid.conf find lines like
acl Safe_ports port ...
add Your desired port
acl Safe_ports port 3000
reload squid configuration
Avatar of sheepfarmer
sheepfarmer

ASKER

I tried that, but it still got rejected.
I wonder if its getting confused with the requested port as the url is acutally https, thus
https://www.mailserver.com:3000
so a combination of 443 and 3000
ASKER CERTIFIED SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland 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
Cool dude, that worked.

Thanks alot
SF