Jump to content

Reverse proxy Impelemtation for BJP.ORG on rackspace data center

From TetraWiki
Revision as of 09:59, 23 February 2013 by Biswajit (talk | contribs) (Created page with " Squid as Reverse proxy Situation - BJP.org had IP based DDOS attack Temp Solution : Build a reverse proxy in rackspace data center use the local eth1 both server . ht...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Squid as Reverse proxy

Situation - BJP.org had IP based DDOS attack

Temp Solution : Build a reverse proxy in rackspace data center use the local eth1 both server .

http://wiki.squid-cache.org/ConfigExamples/Reverse/BasicAccelerator

yum install squid

mv /etc/squid/squid.conf /etc/squid/squid.conf.org

create a new /etc/squid/squid.conf

    1. Squid as Reverse Proxy

http_port 80 accel defaultsite=www.bjp.org cache_peer 10.178.107.106 parent 80 0 no-query originserver name=myAccel acl our_sites dstdomain www.bjp.org http_access allow our_sites cache_peer_access myAccel allow our_sites cache_peer_access myAccel deny all

10.178.107.106 - Local IP of old server (198.61.199.121)