Configure Squid Proxy To Forward Package To A Parent Proxy

No comments


Squid is an Open Source Unix-based proxy server for the Web supporting HTTP, HTTPS, FTP, and more. It has extensions like web page caching to reduce bandwidth and improve response times. Squid is provided as free, open source software and can be used under the GNU General Public License.

Basically, Squid will act as an intermediary, passing the client’s request on to the destination (server). We are  going  to take  a  look  how to configure  proxy to  proxy  communication with  squid proxy.  We will create a test case that two proxy servers forward specific package over defined port between them. Not only one server will be parent proxy both of them will be act like parent.

So we got access from firewall side  from one  proxy  to another  one  for specific  port which we ‘ll use to  communicate  Proxies.  If you have  an application,  your  application can access  agents over  Proxies and also  agent can access  server to. Request  comes from agents  will be  forwarded  from  one proxy  to another .

Lets talk about  squid  configuration.First  of all  you need to install  squid proxy  package. I use  this  one which I added below.

For  application Server Package  Flow :

Application Server >> ProxyA >> ProxyB>>Agent

For  Client  Package  Flow :

Agent >> ProxyB >> ProxyA >> Application  Server

PROXY A configuration :


PROXY B Configuration :



Then you can restart squid proxy and  finished!

Follow me


I'm a System Engineer with extensive experience and administration skills and works for Interbank Card Center Of Turkey.I provide hardware and software support for the following Unix/Linux and Windows platforms.(Oracle Solaris,HP-UX, Linux, IBM-AIX, Windows Servers)
Follow me
facebooktwittergoogle_pluslinkedinby feather

No comments yet.

You must be logged in to post a comment.