Well, since many people and webmasters do not want to get their traffic sniffed by third parties like CloudFlare and Incapsula or Sucuri etc.etc. this is just the perfect solution and it is exactly what i was looking for. Brilliant idea, thanks for sharing this pearl of wisdom.
Iptables doesn't work well with CloudFlare. Have you try install vDDoS Protection Reverse Proxy from https://sourceforge.net/p/vddos-protection Layer 7 Filter Mitigate DOS, DDOS, SYN Floods, or HTTP Floods attack?