How to Block VPN and Data Center IP Submissions in WS Form

WS Form

WS Form is a powerhouse when it comes to building complex, dynamic forms in WordPress. But no matter how advanced your setup is, spam can still sneak through—especially when bots are using VPNs and cloud-hosted servers to submit junk entries.

This guide will walk you through why blocking these traffic sources matters for WS Form, and show you two effective ways to do it—manually through Cloudflare or automatically using the OOPSpam plugin.

Why VPN and Cloud Provider IPs Are a Problem for WS Form Users

Spambots have gotten more sophisticated. They don’t just try to submit gibberish text anymore—they now:

These tactics let them bypass even some of WS Form’s built-in protections.

Blocking VPNs

Blocking VPN IPs stops spam from anonymized networks like Tor or commercial VPN providers. However, you’ll want to consider your audience—some legitimate users may also rely on VPNs for privacy or access.

Blocking Cloud Provider IPs

This is where you get the biggest impact. Most spam submissions don’t come from individuals—they come from data center IPs tied to bot servers. Blocking this traffic is generally safe and highly effective.

While most anti-spam tools look for behavior or content patterns, IP-based blocking proactively filters submissions before they even reach your WS Form.

Need help checking if an IP is from a VPN or data center? Use tools like IP Reputation Check to investigate.

Method 1: Block VPN and Cloud IPs Manually Using Cloudflare

Cloudflare WAF

If you’re running your WordPress site through Cloudflare, you can manually configure firewall rules to block traffic from known networks.

How It Works

Each network provider has an ASN (Autonomous System Number), a unique identifier you can use in Cloudflare to block all traffic from that network.

Block ASN in your Cloudflare firewall settings

Example: If you discover repeated spam from DigitalOcean servers, you can block ASN AS14061 in your Cloudflare firewall settings.

What to Watch Out For

This approach is powerful but best suited for technically advanced users managing large or high-risk websites.

Method 2: Automatically Block VPN and Cloud IPs in WS Form with OOPSpam

OOPSpam WordPress plugin

If you want something more automated and beginner-friendly, the OOPSpam WordPress plugin (that’s us 👋) is a fantastic solution. It works seamlessly with WS Form and only takes a few clicks to get started.

OOPSpam now includes two toggles under IP Filtering:

Once these are enabled, the plugin filters out spam before it even reaches your WS Form entries.

Why OOPSpam Is an Ideal Match for WS Form

Unlike basic honeypot or CAPTCHA setups, OOPSpam connects to a real-time, constantly updated threat database that includes:

That means it not only stops known spam IPs, but also blocks emerging threats that haven’t yet made it to blocklists.

OOPSpam is lightweight, privacy-focused, and compatible with WS Form’s powerful features without affecting performance.

How to Enable VPN and Cloud IP Blocking in WS Form Using OOPSpam

Install the Plugin

Step 1: Install the Plugin

Then head over to OOPSpam Dashboard to create a free account and copy your API key.

Step 2: Connect Your API Key

Connect Your API Key

Once WS Form is installed, spam protection settings will become available.

Activate Spam Protection option for WS Form

Step 3: Enable IP Filtering

Switch to the IP Filtering tab and turn on:

Enable IP Filtering

Click Save Changes and you’re all set. No additional WS Form configuration is needed—OOPSpam filters traffic automatically in the background.

Tips for Getting the Best Results with WS Form

These tools help you create a smarter, more targeted defense against spam.

Final Thoughts

WS Form gives you full control over form design and logic—but that power means little if your forms are getting hammered with junk submissions.

By blocking traffic from VPNs and cloud data centers, you shut down the most common entry points for spam—before it even hits your inbox. The OOPSpam plugin gives you this power with almost no setup time.

Whether you’re running contact forms, job applications, or eCommerce checkouts with WS Form, adding this extra layer of spam protection can save time, improve data quality, and help you focus on what matters.

Need help getting started? Reach out to our team—we’re here to support your setup and integration with WS Form or other supported form plugins like WooCommerce, Kadence Forms, and 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: