So, I've just set a Google Cloud VPN to merge my local network with my cloud network.

In Google Cloud Console, it says that the connection between Cloud VPN and my Peer VPN Gateway is established and I see a green icon. It is a IKEv2 connection.

But I can't reach any of the private IPs on my Google Cloud.

I have activated VPN and VPC logs and I can see how my requests get to Google but I don't know what the problem would be or how to debug.

My GCloud private network is: My local network is:

And I can see Log entries on my VPC of me trying to reach (which is a virtual machine running NGINX and SSH) from the browser and SSH (I have the firewall rules too) but I can't connect. (I can using the public IP though)

An example:

 insertId: "xxxxxxxxx"  

jsonPayload: {
  bytes_sent: "0"   

connection: {
   dest_ip: ""    
   dest_port: 50988    
   protocol: 6    
   src_ip: ""    
   src_port: 80    
  end_time: "2019-05-21T07:39:20.422232110Z"   
  packets_sent: "2"   
  reporter: "SRC"   

src_instance: {
   project_id: "xxxxxxx"    
   region: "xxxxxxx"    
   vm_name: "instance-1"    
   zone: "xxxxxx"    

src_vpc: {
   project_id: "xxxxxxxx"    
   subnetwork_name: "main-vpc-subnet"    
   vpc_name: "main-cluster-vpc"    
  start_time: "2019-05-21T07:39:20.422094550Z"   
 logName: "projects/xxxxxx/logs/compute.googleapis.com%2Fvpc_flows"  
 receiveTimestamp: "2019-05-21T07:39:25.609210362Z"  

resource: {

labels: {
   location: "xxxxxxxx"    
   project_id: "xxxxxxxxxx"    
   subnetwork_id: "xxxxxxxxxx"    
   subnetwork_name: "main-vpc-subnet"    
  type: "gce_subnetwork"   
 timestamp: "2019-05-21T07:39:25.609210362Z"  


  • Do you have a route configured back to your local network? – Ron Trunk May 21 at 13:41
  • Changing the route type from policy based to route based it works, and in route based is by default – codiaf May 21 at 13:43
  • Where did you configure This sends all traffic back thru your network. You probably do not want that. – John Hanley May 27 at 2:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.