Google Cloud BOVPN Virtual Interface Integration Guide
Deployment Overview
WatchGuard provides integration instructions to help our customers configure WatchGuard products to work with products created by other organizations. If you need more information or technical support about how to configure a third-party product, see the documentation and support resources for that product.
This integration guide describes how to configure a BOVPN virtual interface tunnel between a WatchGuard Firebox and Google Cloud Platform.
Integration Summary
The hardware and software used in this guide include:
- WatchGuard Firebox
- Fireware v12.7
- Google Cloud Platform
Topology
This diagram shows the topology for a BOVPN virtual interface connection between a WatchGuard Firebox and Google Cloud Platform.
Configure the Firebox
On the Firebox, configure a BOVPN virtual interface connection.
- Log in to Fireware Web UI.
- Select VPN > BOVPN Virtual Interfaces.
- Click Add.
The BOVPN virtual interface configuration page opens. - In the Interface Name text box, type a name to identify this BOVPN virtual interface.
- From the Remote Endpoint Type drop-down list, select Cloud VPN or Third-Party Gateway.
- From the Gateway Address Family drop-down list, select IPv4 Addresses.
- In the Credential Method section, select Use Pre-Shared Key.
- In the adjacent text box, type the pre-shared key.
- Keep the default String-Based setting.
- In the Gateway Endpoint section, click Add.
The Gateway Endpoint Settings dialog box opens. - From the Physical drop-down list, select External.
- From the Interface IP Address drop-down list, select Primary Interface IPv4 Address.
The Primary Interface IP Address is the primary IP address you configured on the selected external interface. - Select By IP Address.
- In the adjacent text box, type the primary IP address of the External Firebox interface.
- Select the Remote Gateway tab.
- Select Static IP Address.
- In the adjacent text box, type the External IP address of your Google Cloud connection.
- Select By IP Address.
- In the adjacent text box, type the External IP address of your Google Cloud connection.
- Click OK.
- In the Gateway Endpoint section, select Start Phase 1 tunnel when it is inactive.
- Select Add this tunnel to the BOVPN-Allow policies.
Next, add VPN Routes.
- Select the VPN Routes tab.
- In the VPN Routes section, click Add.
The VPN Route Settings dialog box opens. - From the Choose Type drop-down list, select an address type. In our example, we specify Network IPv4.
- In the Route To text box, type IP address of a route that will use this virtual interface.
- Click OK.
Next, configure the Phase 1 settings.
- Select the Phase 1 Settings tab.
- From the Version drop-down list, select IKEv2.
- For all other settings, keep the default values.
- Keep the default Phase 2 settings.
- Click Save.
For more information about BOVPN virtual interface configuration on the Firebox, see Configure a BOVPN Virtual Interface.
Configure the Google Cloud VPN
To configure the Google Cloud VPN, you must specify several settings.
- Log in to the Google Cloud Platform.
- From the navigation menu, select Networking > VPC network > VPC networks.
- Click Enable.
- Click Create VPC Network.
- In the Name text box, type a name for the VPC network. In our example, we use cloud-vpc-network.
- In the Subnets section, for Subnet creation mode, select Custom.
- In the Name text box, type a name for the subnet. In our example, we use subnet-asia-east1-192-168-1.
- From the Region drop-down menu, select a region, which is a specific geographical location where you can host your resources. In our example, we select asia-east1.
- In the IP address range text box, specify the IP address range for this subnet. In our example, we use 192.168.1.0/24.
- (Optional) For Flow logs, select On.
- In the New subnet section, click Done.
- For all other settings, keep the default values.
- Click Create.
Next, reserve a static address:
- From the navigation menu, select Networking > VPC network > External IP addresses.
- Click Reserve static address.
The Reserve a static address page opens. - In the Name text box, type a name for the External IP address. In our example, we use google-cloud-vpn-ip.
- From the Region drop-down list, select a region where the address will be created. In our example, we select asia-east1 (Taiwan).
- For all other settings, keep the default values.
- Click Reserve.
Next, configure the VPN connection settings:
- From the Navigation menu > Networking > Hybrid Connectivity > VPN.
- Click Create VPN connection.
- From the VPN options section, select Classic VPN.
- Click Continue.
- In the Google Compute Engine VPN gateway section, in the Name text box, specify a name for the VPN gateway.
- From the Network drop-down list, select the network you created. In our example, we select cloud-vpc-network.
- From the Region drop-down list, select a region. In our example, we select asia-east1.
- From the IP address drop-down list, select the IP address you created. In our example, we select google-cloud-vpn-ip.
- In the Tunnels section, in the Name text box, type a name for the tunnel.
- In the Remote peer IP address text box, type the External IP address of the remote peer.
- From the IKE version drop-down list, select IKEv2.
- In the IKE pre-shared key text box, type the IKE pre-shared key for this tunnel.
- For Routing options, select Route-based.
- In the Remote network IP ranges text box, type the IP address ranges of the remote networks.
- Click Done.
- Click Create.
Next, create firewall rules:
- From the navigation menu, select Networking > VPC network > Firewall rules.
- Click Create Firewall Rule.
- In the Name text box, type a name for this rule.
- In the Logs section, click On.
- From the Network drop-down list, select the network you created. In our example, we select cloud-vpc-network.
- For Direction of traffic, select Ingress.
- For Action on match, select Allow.
- From the Targets drop-down list, select All instances in the network.
- From the Source filter drop-down list, select IP ranges.
- In the Source IP ranges text box, type the IP address ranges of remote internal networks.
- For Protocols and ports, select Allow All or Specified protocols and ports. In our example, we select Allow all.
- For all other settings, keep the default values.
- Click Create.
- Create an egress rule:
- Repeat Steps 3–5.
- For Direction of traffic, select Egress.
- Repeat Steps 7–13.
Google Cloud VPN auto-negotiates the authentication, encryption, and key group with the Firebox. You cannot edit these settings in the Google Cloud VPN configuration.
For more information about Google Cloud VPN configuration and supported IKE ciphers, see the Google Cloud VPN Documentation.
Test the Integration
To test the integration:
- From Fireware Web UI, select System Status > VPN Statistics.
- Select the Branch Office VPN tab. Review the data to verify the VPN is established.
- From the Google Cloud Platform navigation menu, select Networking > Hybrid Connectivity > VPN.
- Select Cloud VPN Tunnels.
- Review the data to verify the VPN is established.