Classic VPN gateway and one tunnel using dynamic routing, which uses the Border Gateway routing Protocol (BGP).
With dynamic routing, you do not specify local or remote traffic selectors; instead, you use a Cloud Router. Route information is exchanged dynamically.
Configure the Gateway
-
Go to the VPN page in the Google Cloud Platform Console.
-
Click VPN setup wizard.
-
On the Create a VPN page, specify Classic VPN.
-
Click Continue.
-
On the Create a VPN connection page, specify the following gateway settings:
-
Name — The name of the VPN gateway. The name cannot be changed later.
-
Description — Optionally, add a description.
-
Network — Specify an existing VPC network in which to create the VPN gateway and tunnel.
-
Region — Cloud VPN gateways and tunnels are regional objects. Choose a GCP region where the gateway will be located. Instances and other resources in different regions can use the tunnel for egress traffic subject to the order of routes. For best performance, locate the gateway and tunnel in the same region as relevant GCP resources.
-
IP address — Create or choose an existing regional external IP address.