简体   繁体   English

只允许特定国家连接服务器(谷歌云平台)

[英]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.

相关问题 如何在 Google Cloud Platform 实例中为特定 URL/IP 允许特定端口 - How to allow a specific port in Google Cloud Platform instance for the specific URL/IP 如何从本地浏览器连接到Google Cloud Platform的外部IP - how to connect to external ip of google cloud platform from local browser 不匹配 IP 地址 私有服务 Connect with Google Can Platform 和 Elastic Cloud - Mismatch IP address Private Service Connect with Google Could Platform and Elastic Cloud 我如何将iptables设置为仅允许某些mac地址连接才能连接到服务器 - how I can I set iptables to only allow certain mac addresses to connect to connect to a server 无法通过 SSH 连接到 Google Cloud Platform 上的 VM 实例 - Unable to SSH into VM instance on Google Cloud Platform 缓慢的静态IP分配给Google Cloud Platform上的Kubernetes Load Balancer - Slow static IP assignment to Kubernetes Load Balancer on Google Cloud Platform 如何在Google Cloud Platform重启后保持多个网络接口? - How to persist multiple network interfaces across reboots on Google Cloud Platform? 如何测试另一个国家/地区的特定服务器的下载速度? - How to test the download speed to a specific server in another country? 如何允许Google App Engine与虚拟机实例连接 - How can i allow Google App Engine to connect with VM Instances 无法通过外部IP(Jboss)连接到Google Cloud - Unable to connect to Google Cloud via external IP (Jboss)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM