Reverse proxy Impelemtation for BJP.ORG on rackspace data center
Appearance
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
- 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)