Block VPNs and proxies in Discord verification

Most raid accounts and ban evaders show up from an address they've never used before. Checking the connection when they verify takes that disguise away.

Short answer

Enable the Block VPNs & Proxies template in your RestoreCord firewall (Premium and up). Members on a VPN, proxy or hosting connection are refused at verification and asked to switch it off, while staff can be let through with an allow rule or a timed bypass.

Why the connection is the weak point for raiders

Creating a Discord account takes a minute. Getting a believable, unused IP address for each one is the expensive part, so raid crews and returning ban evaders lean on VPNs, open proxies and cheap cloud servers. If your server only checks the account, every one of those connections looks brand new. If it checks the connection, they all look like what they are.

RestoreCord does that check on the verify page, after the member approves on Discord and before your bot gives the verified role. Ordinary members don't notice anything. Someone on a masked connection gets a message telling them VPNs and proxies aren't allowed on this server.

What the check looks at

Each verification's IP address is run through IP intelligence lookups, which classify the connection. The layers stack, and each one is available on a specific plan:

LayerWhat it stopsPlan
Anti VPN & ProxyCommercial VPNs, proxies and other anonymising connectionsPremium and up
ASN blacklistA whole provider network at once, such as a hosting company used for a raidBusiness and up
Block cellular connectionsVerification from mobile networks such as LTE, 4G and 5GEnterprise
CaptchaScripted verification attemptsEvery plan

VPN blocking pairs naturally with alt detection, also on Premium. A VPN changes the IP, but the browser fingerprint can still tie a new account to an old one.

Turning it on

  1. Open your server in the RestoreCord dashboard and go to Firewall.
  2. Choose Add Security Rule. Block VPNs & Proxies is the first template in the list.
  3. Enable it. The very next verification attempt is already checked, with no bot restart and no new message to post.
  4. Verify once yourself on a VPN to see the message a blocked member gets, then switch the VPN off and verify normally.

Letting the right people through

Some trusted people have good reasons to use a VPN: a moderator travelling, a member in a country where a VPN is a necessity. Rather than switching the protection off, add a narrow exception:

  • An allow rule for a specific Discord user ID, so that person always passes
  • An allow rule for a known IP or IP range, for example a staff office
  • Temporary access from the activity log, for 15 minutes, 1 hour, 6 hours, 24 hours or 7 days
  • A bypass-all-checks rule, kept for the handful of accounts you would trust with the keys

Handling members who aren't using a VPN

Now and then someone insists they have no VPN installed. Usually the network is doing it for them: school and office Wi-Fi often route traffic through a proxy, browser privacy extensions can act as one, and iCloud Private Relay on iPhone hides the address in the same way. Point them to RestoreCord's VPN/proxy detected help page, which covers each case, or suggest switching to mobile data for the verification.

If a block was simply wrong, the activity log shows the reason for every attempt, so your staff can see exactly which check fired before deciding on an exception.

Where to go next

VPN blocking is one layer of the RestoreCord Shield firewall. To write narrower exceptions, see the firewall rules guide. For what to do when a raid is already underway, read the raid response plan.

Switch on VPN blocking

  1. Open the firewall

    In the dashboard, open your server and go to Firewall, then choose Add Security Rule.

  2. Pick Block VPNs & Proxies

    Enable the template. It's available from Premium and applies to the next verification attempt.

  3. Allow the people you trust

    Create an allow rule for staff, or grant temporary access from the activity log when someone needs a quick exception.

Open VPN detection

VPN blocking questions

Take the disguise away from raiders

Turn on VPN and proxy blocking and see how many attempts never make it past verification.