[英]Add IPv6 To Google Cloud SQL Whitelist / Authorization
How do I add a IPv6 to my authorized/whitelisted networks for Google Cloud SQL? 如何为我的Google Cloud SQL授权/白名单网络添加IPv6?
Is the Cloud SQL instance you're using 1st or 2nd generation? 您使用的是第一代还是第二代的Cloud SQL实例?
2nd generation Cloud SQL instances do not support IPv6
, as per stated in the official documentation that you can check here . 根据您可以在此处查看的官方文档中所述,第二代Cloud SQL实例不支持IPv6
。
EDIT: 编辑:
There is an existing feature request on the Google Issue Tracker to add CloudSQL v2
instances support for whitelisting IPv6
. Google问题跟踪器上已有一项功能请求,要求添加CloudSQL v2
实例支持以将IPv6
列入白名单。 You can check the status of the request by following this link . 您可以通过以下链接检查请求的状态。 You can use the “star” on the top left corner to get updates on the state of the request. 您可以使用左上角的“星号”获取有关请求状态的更新。
As a workaround, what you can do is to configure authentication based on a client certificate and connect using
IPv4
. 解决方法是,您可以根据客户端证书配置身份验证并使用IPv4
连接。 You can use a web service like config.me to get yourIPv4
address by running this command:$ curl --ipv4 ifconfig.me
您可以使用config.me之类的Web服务通过运行以下命令来获取您的IPv4
地址:$ curl --ipv4 ifconfig.me
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.