简体   繁体   English

谷歌云平台创建防火墙规则什么允许来自一个且唯一特定国家的请求

[英]Google Cloud Platform Creating Firewall Rule What Allows Request Coming From One And Only Specific Country

i am kind of new on GCP.我是 GCP 的新手。 I am trying to figure out how can i create a firewall rule that allows requests coming from one specific country like Belgium, Italy etc. I may miss the tips in docs.我想弄清楚如何创建允许来自特定国家(如比利时、意大利等)的请求的防火墙规则。我可能会错过文档中的提示。 Any ideas?有任何想法吗?

Have a look at the documentation Using firewall rules section Creating firewall rules .查看文档使用防火墙规则部分创建防火墙规则 Unfortunately, GCP Firewall doesn't provide geo filtration at the moment.不幸的是,GCP 防火墙目前不提供地理过滤。

Please check if Cloud Armor suits your use case.请检查Cloud Armor是否适合您的用例。 If so, you'll be able to use geography-based access controls to allow or deny traffic based on source geo using Google's geoIP mapping.如果是这样,您将能够使用基于地理的访问控制来允许或拒绝使用 Google 的 geoIP 映射的基于源地理的流量。

If your use case requires geo filtration provided by GCP Firewall you can file a feature quest at Google Public Issue Tracker .如果您的用例需要 GCP 防火墙提供的地理过滤,您可以在Google Public Issue Tracker提交功能请求

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM