[英]Only Allow specific country to connect server (Google cloud platform)
Create a VM instance on GCP (linux server) How could i set only specific country allowed to connect to the server to prevent DDOS (not website) Or is there any other way to prevent?在 GCP(linux 服务器)上创建一个 VM 实例我如何设置只允许特定国家连接到服务器以防止 DDOS(不是网站)或者有没有其他方法可以防止? network status网络状态
Google provides a managed service for anti-DDOS measures - Cloud Armor .谷歌提供了一个用于反 DDOS 措施的托管服务——Cloud Armor 。 You can filter incoming requests by IP address, IP range, region code, request headers and such.您可以按IP 地址、IP 范围、区域代码、请求标头等过滤传入请求。 Take a look at the pricing page for it as well.也请查看它的定价页面。
If you need.network-level IP address blocking/blacklist capability, you should add load balance and limit IP range of each country you want to block their access.如果你需要.network-level IP地址拦截/黑名单能力,你应该添加负载均衡和限制每个国家的IP范围你想阻止他们的访问。 You can also config it with WAF or any firewall you have installed on your linux server.您还可以使用 WAF 或您在 linux 服务器上安装的任何防火墙对其进行配置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.