I currently have two VPCs

  • A (
  • B (

They are connected trough VPC peering and can contact each other. I have now setup an openvpn server in VPC B, and want the connected clients to be accessible by VPC A. The clients of the openvpn server have IPs in the range.

Which route (and how) would I need to add to google cloud to make this possible? I assume I need a VPN Tunnel route, but that list is empty in my google cloud console.


As the tunnel terminates on an instance in the VPC running OpenVPN, I would try followings:

1) A static route to the client network( range with OpenVPN server as the next hop (next hop=Openvpn server instance).

2) IP forwarding turned on the instance, running OpenVPN server

3) Tune down the MTU to make sure it's not greater than 1460 bytes on the clients to get this going. Details of this can be found in the GCP "Gateway MTU vs. system MTU" and "Performance considerations". I would also recommend reviewing "MTU Considerations" documentation as a whole for more details.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.