Connect from on-premises to a private cloud using VPN

The following sections describe how to set up VPN connections using point-to-site VPN gateways. You can create only one point-to-site VPN gateway per region.

You can also use Cloud VPN or Cloud Interconnect to establish site-to-site VPN connections between your on-premises network and your private cloud.

Point-to-site VPN

To create a point-to-site VPN gateway, see Setting up a point-to-site VPN gateway.

Connect to VMware Engine using point-to-site VPN

To connect to VMware Engine from your computer, you need a VPN client. Download OpenVPN client for Windows or Viscosity for macOS and OS X.

  1. Access Google Cloud VMware Engine portal and select Network.

  2. Select VPN gateway.

  3. From the list of VPN gateways, select the point-to-site VPN gateway.

  4. Select Users.

  5. Click Download my VPN configuration.

  6. Import the configuration on your VPN client.

  7. Connect to the VPN gateway.

Example: importing the VPN connection using the Viscosity client

  1. Extract the contents of the VPN configuration from the downloaded zip file.
  2. Open Viscosity on your computer.
  3. Click add add and select Import connection > From file.
  4. Select the OpenVPN configuration file (.ovpn) for the protocol you want to use, and click Open. The connection now appears in the Viscosity menu.
  5. In the Viscosity OpenVPN client, connect to the VPN by selecting the connection from the Viscosity menu. The menu icon updates to indicate that the connection is established.

Connecting to multiple private clouds

A point-to-site VPN connection resolves the DNS names of the first private cloud that you create. When you want to access other private clouds, you must update the DNS server on your VPN client.

  1. Access Google Cloud VMware Engine portal and select Network.

  2. Navigate to Resources > Private clouds, and select the private cloud you want to connect to.

  3. On the Summary page of the private cloud, under Basic Info, copy the private cloud DNS server IP address.

  4. Right-click the Viscosity icon in your computer's system tray, and select Preferences.

  5. Select the VPN connection name, and click Edit to change the connection properties.

  6. On the Networking tab, enter the following information:

    • Servers: private cloud DNS server IP addresses, separated by a comma or space.
    • Domains: the domain gve.goog.
    • Select the Ignore DNS settings sent by VPN server checkbox.