SOLVED How to configure GG Cloud routes to OVPN Clients

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
vithouse82
OpenVpn Newbie
Posts: 1
Joined: Wed Nov 02, 2022 2:14 pm

SOLVED How to configure GG Cloud routes to OVPN Clients

Post by vithouse82 » Wed Nov 02, 2022 4:58 pm

Hi, I contact you because I started using OpenVPN with Google Cloud and I started deploying the "VPN Access Server" present in marketplace. Installation is very simple, and I followed this guide:

https://openvpn.net/vpn-server-resource ... art-guide/

Everything is ok, I configured It and from my client PC I connect to the VPN and reach any machine I want on the subnet where OpenVPN server is deployed. BUT, I'm unable to do viceversa, so If I want to connect FROM a machine in GCP TO my PC I'm unable to do this. So, If you read the article, there's a part speaking about this, "Set up static routes if necessary" and I configured this, accordly also to:

https://openvpn.net/vpn-server-resource ... e-network/
and
https://openvpn.net/vpn-server-resource ... pn-tunnel/

In GCP I addedd the route to the 172.27.232.0/21 ( The IPs of the VPN) and next hop with the instance name of the VPN Server ( name or IP, is the same ).


At this point I'm able to contact again the Google Cloud machines in the subnet from my PC with ping, tracert and telnet on active services, AND also I'm able to ping and traceroute FROM the Google Cloud machines to my PC connected in VPN. The only thing that does not works is trying to telnet my PC IP on some service, and I really don't understand why. Only ping and traceroute works, but disabling fw, Antivirus and verifyng that a service is active ( es. web server on port 80 ) I cannot reach It from these machines. What am I missing?

Thank you for your help

SOLVED: It's necessary to add the proper Ingress Network Firewall rules for the subnet of the VPN Access Server, or in general in the entire subnet.

Post Reply