How can I turn off requests to my virtual server?

How can I turn off requests to my virtual server? Is there a way to prevent requests from all datacenter ip addresses to my virtual server? I do it with iptables but that doesn’t help much. Is it possible to block data center IP classes directly?