Networking Forums

Networking Forums > Computer Networking > Linux Networking > understanding reverse proxy using squid

Reply
Thread Tools Display Modes

understanding reverse proxy using squid

 
 
query.cdac@gmail.com
Guest
Posts: n/a

 
      04-28-2007, 03:40 AM

I am just visualizing how a reverse proxy works.
Squid, a open source tool can be configured to work
as a reverse proxy.

Actually a reverse proxy lies inbetween the Internet and the Web
server. When a request from a client comes in , the request first goes
to the proxy server. The proxy server will look in its cache for the
requested page,if it is there in the cache, it will send the requested
page to the client or it will forward the request to the original web
server.
In such a scenario, the proxy server listens at port 80 and the web
server listens at some other port other than normal port 80.The squid
is also configured in such a way that request for dynamic contents are
forwarded to the original web server.


My confusing is regarding the how the web browsers will know that it
has to first contact the proxy server instead of the web server.
One way that can be done which I am thinking is, when I get a
registered ip address for my web server , instead of assigning the ip
address to the web server , I will assign it to the proxy server. The
proxy server is configured in such that any request that comes to it ,
it will forward it to the web server if the request is not available
in its own cache . In that case , the web server will have a private
ip address.
The advantage with reverse proxy is that security of my web server is
increased because it is not visible in the internet and also the load
on the web server is reduced because the static web pages are served
by the proxy server.

Is my understanding is correct. If any guys have implemented reverse
proxy , please let me know whether the fact that the DNS will resolve
for proxy server instead of web server is correct or not as I
mentioned above .

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with reverse proxy for all TCP ports/protocols j.g.tooley@gmail.com Linux Networking 4 11-16-2008 04:40 PM
In need of a firewall that can perform reverse proxy DarrylR Network Routers 1 06-03-2008 09:48 AM
reverse proxy question merrittr Linux Networking 0 10-17-2007 08:20 PM
reverse proxy software BD Linux Networking 0 09-12-2007 05:22 PM
Reverse Proxy Caching using Squid Rich Linux Networking 0 09-22-2005 06:25 PM



1 2 3 4 5 6 7 8 9 10 11