How to allow port in Squid Proxy server


In this post i am going to allow some specific port in squid server.
As you know we have total 65535 port. and many of web server , database server works on different port which are not allowed in squid proxy by default. So we have tow parameter for allowing ports in configuration file one is Safe_ports and 2nd is SSL_ports port.

#vim /etc/squid/squid.conf
#If website is working on http , add below line
acl Safe_ports port 81          # http-new

#For SSL website
acl SSL_ports port 8443
#service squid reload
Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

4 comments:

  1. Thank you bro. you saved my ongoing project :D

    ReplyDelete
  2. This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great. 1337x

    ReplyDelete
  3. Wow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks. 1337x

    ReplyDelete