kylemanna / docker-openvpn

🔒 OpenVPN server in a Docker container complete with an EasyRSA PKI CA
https://hub.docker.com/r/kylemanna/openvpn/
MIT License
8.62k stars 2.37k forks source link

gcloud says #626

Open ORESoftware opened 3 years ago

ORESoftware commented 3 years ago

I have my openvpn running and I am trying to connect to a SQL instance on GCP:

mlls@3c22fb02d7cf mbk% gcloud sql connect meme-bank-pg-3 --user=postgres --quiet

Allowlisting your IP for incoming connection for 5 minutes...done.                                                                                                         
ERROR: (gcloud.sql.connect) It seems your client does not have ipv6 connectivity and the database instance does not have an ipv4 address. 
Please request an ipv4 address for this database instance.

so I believe I need to allow for IPV6 for the VPN? I looked online and the instructions are difficult to follow:

  1. https://community.openvpn.net/openvpn/wiki/IPv6
  2. https://blog.apnic.net/2017/06/09/using-openvpn-ipv6/

are there any sane ways to configure ipv6 for the vpn?