Before you begin: From your IP Plan, you need the
Outside interface name, the Private-1 IP address and subnet mask. From GCP, you need your local network’s IPv4 address and subnet mask (converted from CIDR notation, e.g. 255.255.0.0 instead of /16).Configuration template
Step 1: Get the configuration values
{ gcp_network_address }
This is the IP address of the GCP local network that needs to have access to Orka.
- Verify that you’re logged into the GCP console and you are working in the correct project.

- From the GCP console sidebar, scroll to the Networking section and select Hybrid Connectivity > VPN.

- Select Cloud VPN Gateways.
- Locate the gateway used by your GCP-Orka tunnel and note the value for Region.

- Click the value listed under VPC network.
The GCP console redirects you to the list of subnets for the selected network. - In the list of subnets, locate the one matching the region you noted in Step 4.
- From the respective IP address ranges field, use the IP address without the bit notation at the end (e.g.
/16).
{ gcp_network_mask }
This is the subnet mask of the GCP local network that needs to have access to Orka.
- Verify that you’re logged into the GCP console and you are working in the correct project.

- From the GCP console sidebar, scroll to the Networking section and select Hybrid Connectivity > VPN.

- Select Cloud VPN Gateways.
- Locate the gateway used by your GCP-Orka tunnel and note the value for Region.

- Click the value listed under VPC network.
The GCP console redirects you to the list of subnets for the selected network. - In the list of subnets, locate the one matching the region you noted in Step 4.
- From the respective IP address ranges field, use the bit notation at the end (e.g.
/16) and convert it to a subnet mask. You can use a CIDR calculator such as this CIDR/Netmask Lookup Tool.
{ gcp_vpn_ip }
This is the public IP address of the cloud VPN gateway in GCP.
- Verify that you’re logged into the GCP console and you are working in the correct project.

- From the GCP console sidebar, scroll to the Networking section and select Hybrid Connectivity > VPN.

- Select Cloud VPN Gateways.
- Locate the gateway used by your GCP-Orka tunnel and use the value listed under IP address.

{ macstadium_network_name }
This is Private-1.
{ macstadium_network_address }
This is the IP address of the Private-1 network from your IP Plan.
{ macstadium_network_mask }
This is the subnet mask of the Private-1 network from your IP Plan.
{ macstadium_public_ip }
This is the IP address of the FW1-Outside network from your IP Plan.
{ macstadium_outside_interface }
This is Outside.
{ shared_key }
This is the IPSec pre-shared key used when creating the VPN connection in GCP.
- You must have this key saved separately.
Step 2: Complete the template
- Copy the template into a text editing tool.
- Replace all placeholders with their respective values.
- Delete the remaining commented lines to clean up the template. Commented lines are indicated by
!at the beginning of the line. - Save your changes.

