LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-25-2014, 04:31 AM   #1
danialnaeem
Member
 
Registered: Feb 2014
Posts: 35

Rep: Reputation: Disabled
Question 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
 
Old 03-25-2014, 04:37 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
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.
 
Old 03-25-2014, 04:38 AM   #3
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
You can have one proxy relay requests to another upstream proxy. See the Cache Hierarchy documentation for more information and configuration examples.
 
Old 03-25-2014, 05:47 AM   #4
danialnaeem
Member
 
Registered: Feb 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
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.

Last edited by danialnaeem; 03-25-2014 at 05:55 AM.
 
Old 03-25-2014, 06:18 AM   #5
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
Quote:
Originally Posted by danialnaeem View Post
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.
 
Old 03-25-2014, 07:04 AM   #6
danialnaeem
Member
 
Registered: Feb 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
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.. ??
 
Old 03-25-2014, 07:34 AM   #7
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
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.
 
  


Reply

Tags
redhat, squid



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
proxy server configuration nagavinodh Linux - Newbie 1 09-12-2009 10:00 AM
proxy server configuration nagavinodh Linux - Newbie 1 09-12-2009 03:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration