LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2011, 08:43 AM   #1
TheOnlyQ
Member
 
Registered: Apr 2011
Posts: 33

Rep: Reputation: 0
Squid proxy help.


Okay I have something that I need to learn about.

A client has a load balancer which currently is hooked up to three cloud servers, it does the usual and forwards traffic to the cloud with the least traffic/load.


My job would be to set-up squid proxy on these clouds so that it would communicate with the back-end server and retrieve the data that the end-user has requested. (hopefully without revealing to the end user that the back end even exists)

The way I see it, and the way the client explained it >>

Load Balancer >> Clouds
Clouds >> Back-end Server >> Clouds

The data that would be being sent is HTTP/everything on port 80

The main reason I ask here, is because I need some help on what direction I should be looking in regards to documentation on the subject.

For starters, I don't even know if what my client is asking is actually possible, I have next to no experience with squid proxy. So I'm looking for a little guidance. There is no point reading documentation if I don't know what I'm supposed to be reading in the first place.

Thanks guys.

Last edited by TheOnlyQ; 12-17-2011 at 08:47 AM.
 
Old 12-17-2011, 11:26 AM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi TheOnlyQ,

Squid is web proxy service. You can use it as transparent proxy or you can apply content filtering to it. Firstly what we need to know here is from where the requirement of proxy came from. I mean why they need to configure squid on three of the cloud servers. Is there a specific need?

Secondly, when you say backend servers are we talking about web servers in the backend?

Thirdly, need to know the exact flow as to how the request will be made an how it will be responded.

Lastly, if you could show us the network diagram then it will be great.
 
Old 12-17-2011, 04:28 PM   #3
TheOnlyQ
Member
 
Registered: Apr 2011
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by T3RM1NVT0R View Post
Hi TheOnlyQ,

Squid is web proxy service. You can use it as transparent proxy or you can apply content filtering to it. Firstly what we need to know here is from where the requirement of proxy came from. I mean why they need to configure squid on three of the cloud servers. Is there a specific need?

Secondly, when you say backend servers are we talking about web servers in the backend?

Thirdly, need to know the exact flow as to how the request will be made an how it will be responded.

Lastly, if you could show us the network diagram then it will be great.
Thanks for such a detailed response.

I asked my client ;

Need: to hide backend IP to prevent ddos

Yes back end server will be a web server with preferably nginx or if need be I can do apache and configure it against attacks which nginx isn't susceptible to.

Diagram - (I hope this is good enough?) http://i.minus.com/jHvEOXWMioc5k.png (The LB and clouds are on the same network, the back end server will be on a different network, this can be changed if needed.)

And some other info, I would prefer to use CentOS for this as this is my prefered OS.

Last edited by TheOnlyQ; 12-17-2011 at 04:30 PM.
 
Old 12-19-2011, 08:14 AM   #4
TheOnlyQ
Member
 
Registered: Apr 2011
Posts: 33

Original Poster
Rep: Reputation: 0
[B]ump this to the top, can anyone give me advice?
 
Old 12-19-2011, 09:50 AM   #5
novice06
Member
 
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132

Rep: Reputation: 23
You may want to take a look apache mod_proxy module. That might what you want
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Proxy Server on Ubuntu and WPAD - Proxy Auto Detection cheesewizz Linux - Networking 1 12-10-2010 02:49 AM
configure squid proxy with cc proxy as a parent proxy faisi Linux - Networking 1 08-10-2010 01:16 PM
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM


All times are GMT -5. The time now is 05:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration