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.
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
- Access Google Cloud VMware Engine portal and select Network.
- Select VPN gateway.
- From the list of VPN gateways, select the point-to-site VPN gateway.
- Select Users.
- Click Download my VPN configuration.
- Import the configuration on your VPN client.
- Connect to the VPN gateway.
Example: Importing the VPN connection using the Viscosity client
- Extract the contents of the VPN configuration from the downloaded zip file.
- Open Viscosity on your computer.
- Click add (> From file. ) and select Import connection
- Select the OpenVPN configuration file (
.ovpn) for the protocol you want to use, and click Open. The connection now appears in the Viscosity menu.
- 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.
- Access Google Cloud VMware Engine portal
- Navigate to Resources > Private clouds, and select the private cloud you want to connect to.
- On the Summary page of the private cloud, under Basic Info, copy the private cloud DNS server IP address.
- Right-click the Viscosity icon in your computer's system tray, and select Preferences.
- Select the VPN connection name, and click Edit to change the connection properties.
- On the Networking tab, enter the following information:
- Servers: Private cloud DNS server IP addresses, separated by a comma or space.
- Domains: The domain
- Select the Ignore DNS settings sent by VPN server checkbox.