How to Block VPN and Data Center IP Submissions in Elementor Forms

Block VPN and Cloud Provider IPs in Elementor Forms

Spam form submissions are often routed through VPNs or cloud servers. If you’re seeing fake leads or suspicious traffic in your Elementor forms, these sources could be the cause. In this guide, we’ll cover why blocking them helps—and how to do it manually or with one click using the OOPSpam plugin.

Why Block VPN and Cloud Provider IPs in Elementor Forms?

Spammers are clever. They often use VPNs, proxies, or servers hosted by cloud providers to submit forms anonymously. This helps them:

Here’s where blocking VPNs and cloud providers helps reduce form spam significantly. But there’s a bit of nuance:

While spam protection plugins typically check if an IP has a history of spam, blocking traffic from servers and data center IPs gives you an added layer of defense—even against IPs that haven’t been flagged yet. This helps catch new threats early, before they hit your inbox.

You can check if a specific IP belongs to a VPN provider or data center using tools like IP Reputation Check.

Method 1: Manually Blocking VPNs and Data Center IPs Using Cloudflare WAF

Manually Blocking VPNs and Data Center IPs Using Cloudflare WAF

If you’re using Cloudflare for your site, you can set up rules to block traffic from VPN and data center networks manually. This approach can work, but it takes more effort to maintain.

How It Works

You’ll need to block traffic based on ASN (Autonomous System Numbers), which are identifiers assigned to networks like AWS, Linode, or VPN providers. These rules can help stop traffic from entire networks.

Example: If you notice spam traffic from DigitalOcean, you can block its ASN (AS14061) via Cloudflare’s firewall rules.

Limitations of Using Cloudflare WAF

So while this method works, it’s better suited to advanced users or those managing high-traffic sites with dedicated technical resources.

Method 2: Block VPN and Cloud IPs with One Click Using the OOPSpam WordPress Plugin

OOPSpam WordPress plugin

If you want a faster, more automated way to filter out these IPs in Elementor forms (or any supported form plugin), our OOPSpam WordPress plugin (that’s us 👋) makes it easy.

We’ve recently added two new toggles under IP Filtering:

With one click, you can reduce spam from two major sources—without worrying about managing IP lists or ASN numbers.

What Makes This Work So Well?

We maintain an up-to-date, industry-standard IP database that includes:

This means your Elementor forms get accurate, real-time protection without breaking a sweat.

And if you’re using our API or other integrations beyond WordPress, these same protections are available there too.

How to Enable VPN and Cloud IP Blocking in OOPSpam WordPress Plugin

Setting this up takes just a few minutes. Here’s how to do it.

Step 1: Install or Update the Plugin

Head to your WordPress dashboard, search for OOPSpam Anti-Spam in the plugin directory, and install or update to the latest version.

Signing up on the OOPSpam Dashboard and copy your API key.

You’ll need an API key, which you can get by signing up on the OOPSpam Dashboard. Copy your API key and paste it into the plugin settings.

Step 2: Add Your API Key and Enable Elementor Spam Protection

Go to Settings > OOPSpam Anti-Spam in your WordPress Admin. Under the General tab, select OOPSpam Dashboard as your source, and paste your API key into the “My API Key” field.

Paste your API key into the “My API Key” field

If you have Elementor installed, a special section labeled Elementor Forms will appear below.

Toggle on Activate Spam Protection on a special section labeled Elementor Forms

Step 3: Navigate to the IP Filtering Tab

Still in the plugin settings, click the IP Filtering tab. This is where you can control how the plugin handles spam based on IP origin.

Navigate to the IP Filtering Tab.

Here, you’ll find two key options:

Flip the toggles to turn them on based on your needs. Click the Save Changes button at the bottom of the page. Your Elementor forms are now protected.

No additional form changes are needed—OOPSpam works in the background, silently filtering based on IP reputation and data source.

Tips for Balancing Spam Protection and User Access

Final thoughts

Spambots aren’t going anywhere, but you don’t need to spend hours chasing IP addresses to stay ahead. Whether you’re managing a contact form, lead gen, or newsletter sign-up on Elementor, these two settings give you quick control over a major source of spam.

If you’ve been overwhelmed by odd submissions from anonymous sources or server farms, try blocking VPN and cloud provider IPs using the OOPSpam plugin. It’s fast, reliable, and designed to work quietly in the background while you focus on growing your site.

Let us know if you’d like help with setup or want to explore how these features work with other form builders like Contact Form 7, WS Form, or Gravity Forms.

Spam Protection for WordPress, Zapier, Make and more.

Since our launch in 2017 we’ve been perfecting our API to be the trusted option for small businesses to enterprise— and continue to stick to our values of being the accessibility and privacy-friendly option. Give us a shot!

Try OOPSpam for free → Try our WordPress plugin for free →

✓ No credit card required ✓ Cancel anytime

Enjoy Reading This Article?

Here are some more articles you might like to read next: