Hello,
I have a compute engine with a service on it. This compute engine has an internal IP (10.208.0.X) and external IP and I can reach the service through external IP.
Now I want to create a VPN from on-premise to GCloud but I want that when I call the service from on-premise use and IP from on-premise range (172.30.XX) and be route to the compute engine.
I have configure the VPN between on-premise and gcloud using the next link:
https://cloud.google.com/vpn/docs/how-to/creating-static-vpns - Created an VPC net and subnet using range 172.30.X.X
- Created an Classic VPN IKEv2 with Policy-based routing using the VPC net and subnet.
- Attached network tag to Compute engine and create a firewall rule allowing incoming trafic from on-premise.
The VPN gateway and tunnel is up and running but I'm not able to reach compute engine neither using on-premise range (172.30.x.x) nor internal ip (10.208.0.X).
Any help would be appreciated.
Regards