【问题标题】:Cloud NAT instead of assigning a Static External IP Address?Cloud NAT 而不是分配静态外部 IP 地址?
【发布时间】:2021-05-08 05:24:11
【问题描述】:

我将尝试在 GCP 上设置我自己的 VPN。所以我需要一个静态外部 IP 地址。
但是,它每月花费几美元。
我读了this,上面写着The idea behind this change is to reduce global static IP usage and to encourage users to use private VM instances (without static external IP) and expose them to the outside via Cloud NAT, thus reducing the attack surface.

那么 Cloud NAT 是否可以免费替代静态外部 IP?
我可以使用 Cloud NAT 获取静态外部 IP 吗?还是类似的?

如果这是一个非常愚蠢的问题,请耐心等待并帮助我理解。
谢谢。

【问题讨论】:

    标签: google-cloud-platform nat


    【解决方案1】:

    Cloud NAT 是一项 SNAT 服务,可让您的没有外部 IP 地址的虚拟机访问互联网。 Cloud NAT 不能用于接收这些机器的传入连接 (DNAT) - 为此您需要一个外部 IP 地址。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-07-05
      • 1970-01-01
      • 1970-01-01
      • 2021-10-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-10-18
      相关资源
      最近更新 更多