Thursday, January 27, 2011

Forward vs Reverse Proxy


Forward Proxy I send a request with the name of the target server and proxy decides whether to allow or deny (acts like a firewall)
eg

   You --------www.facebook.com---->Forward proxy (companay proxy)
   You -------  denied        <----- 
   You -------www.google.com----> Forward proxy (company proxy)--->granted--->www.google.com
   You <-----------------------------------------------------------------------
Reverse Proxy I send a request with the name of the proxy and proxy re-routes the request to internal server (acts like a loadbalancer)
eg
  You -------www.mycompany.com----Reverse proxy (load balancer)
                                  |    |     |
                                  v    v     v
     <--------------------server  A    B     C

No comments:

Post a Comment