I have a scenario with a pfSense machine (subnet x.x.0.0) on GCP, IPSEC vpn with 10 Site-to-Site is working normal but OpenVPN is not, the struggle resides in routing the packets through OpenVPN network (x.x.10.0) and accessing the LAN on GCP side.

I've already followed tutorials and tried to find a way to fix this, I think IP Forward is the culprit, since it is deactivated by default, but now I'm looking for an alternative to avoid dealing with another machine creation.

Another question is: Is there a way to detach and reattach the External and Internal IPs in GCP??

I know that I can change IP Forward in AWS without killing the machine, the same goes to IP maneuvering, but in GCP I don't know how to do it. (Maybe I can't?)


Based from your use case, IP forwarding looks to be the most probable solution but you will still need to set it upon the creation of the instance.

You can also reserve, assign or delete IP address on a VM Instances. These options can be found under VPC Network.

You can find more information about IP addresses in this documentation.


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.