Report this

What is the reason for this report?

Block Russia Access

Posted on March 3, 2022
Alfredo Ramirez

By Alfredo Ramirez

Senior Software Developer

How can I block all my servers access from Russia? Do you have a magic button?

Regards.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello there,

I believe a similar question was asked before in our community, which I’m going to link here as well:

https://www.digitalocean.com/community/questions/how-can-i-restrict-the-access-to-my-droplet-only-for-a-specific-country

Hope that this helps!

You can also use third-party providers like CloudFlare that provider Firewall features that allow blocking single IP addresses or whole IP ranges.

Just enter an IP address, an IP range, or a two-letter country code you wish to block. You can check more here:

https://serverpilot.io/docs/how-to-block-ips-with-cloudflare/

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.