LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squid proxy help. (https://www.linuxquestions.org/questions/linux-newbie-8/squid-proxy-help-919206/)

TheOnlyQ 12-17-2011 08:43 AM

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.

T3RM1NVT0R 12-17-2011 11:26 AM

@ 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.

TheOnlyQ 12-17-2011 04:28 PM

Quote:

Originally Posted by T3RM1NVT0R (Post 4552471)
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.

TheOnlyQ 12-19-2011 08:14 AM

[B]ump this to the top, can anyone give me advice?

novice06 12-19-2011 09:50 AM

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


All times are GMT -5. The time now is 12:53 PM.