• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

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
0
sheepfarmer
Asked:
sheepfarmer
  • 2
  • 2
1 Solution
 
ravenplCommented:
go to squid.conf find lines like
acl Safe_ports port ...
add Your desired port
acl Safe_ports port 3000
reload squid configuration
0
 
sheepfarmerAuthor Commented:
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
0
 
ravenplCommented:
if it's https:, then add this port to
acl SSL_ports port ...
0
 
sheepfarmerAuthor Commented:
Cool dude, that worked.

Thanks alot
SF
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now