LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Additional Proxy Server Configuration (https://www.linuxquestions.org/questions/linux-general-1/additional-proxy-server-configuration-4175499375/)

danialnaeem 03-25-2014 04:31 AM

Additional Proxy Server Configuration
 
Dear Experts,

I am doing job in a VPN environment we have already squid proxy server on redhat available at head office site.. but i want to install and configure also on my office which is connected with head office through VPN. i want to know is this possible to install two proxy servers and tow proxies on same network??


Thanks

kirukan 03-25-2014 04:37 AM

I think there are no limitations, you can have any number of Proxy servers. And can refer the head office proxy as parent proxy too.

Ser Olmy 03-25-2014 04:38 AM

You can have one proxy relay requests to another upstream proxy. See the Cache Hierarchy documentation for more information and configuration examples.

danialnaeem 03-25-2014 05:47 AM

Thanks for replies. i have install redhat 6 and squid , now what configurations required for link my proxy server to other proxy server .. or making him separate proxy address??? what will be my settings of my network IP address and DNS?? can i use my same DNS and IP class which everyone using with head office proxy server.

Ser Olmy 03-25-2014 06:18 AM

Quote:

Originally Posted by danialnaeem (Post 5140803)
Thanks for replies. i have install redhat 6 and squid , now what configurations required for link my proxy server to other proxy server .. or making him separate proxy address??? what will be my settings of my network IP address and DNS?? can i use my same DNS and IP class which everyone using with head office proxy server.

It all depends on what your network infrastructure looks like, and what you want to achieve by introducing a second proxy server.

You could configure the clients at the head office use their server, while the remote office clients use their local proxy server.

Or you could configure all clients to use the same proxy server by DNS name, but have the DNS server at each office return different addresses for the same name, thereby directing clients to the nearest proxy.

Or you could use proxy autoconfiguration on all clients, and have configuration files pointing the clients at the right server.

danialnaeem 03-25-2014 07:04 AM

Yes i want my site use own local proxy server not from head office.. can you please guide me how i can configure additional proxy server on my site on same network.. our DNS server is also in head office.. ??

Ser Olmy 03-25-2014 07:34 AM

I've already linked to the documents that tell you how to configure multiple instances of squid in a cache hierarchy.

As for client configuration, if you have only one DNS server, DNS redirection is out. Manual configuration would be straightforward but possibly laborious, depending on the number of clients.

Alternatively, you could create Proxy Autoconfiguration files (PAC files) that could automatically select the nearest proxy server. The PAC file could either be copied to each client and the web browser configured manually, or it could be served automatically using the WPAD mechanism.

You now know everything you need to get started.


All times are GMT -5. The time now is 04:56 PM.