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.

Topology diagram

Configure the Firebox

On the Firebox, configure a BOVPN virtual interface connection.

  1. Log in to Fireware Web UI.
  2. Select VPN > BOVPN Virtual Interfaces.
  3. Click Add.
    The BOVPN virtual interface configuration page opens.
  4. In the Interface Name text box, type a name to identify this BOVPN virtual interface.
  5. From the Remote Endpoint Type drop-down list, select Cloud VPN or Third-Party Gateway.
  6. From the Gateway Address Family drop-down list, select IPv4 Addresses.
  7. In the Credential Method section, select Use Pre-Shared Key.
  8. In the adjacent text box, type the pre-shared key.
  9. Keep the default String-Based setting.

Screen shot of the Gateway settings

  1. In the Gateway Endpoint section, click Add.
    The Gateway Endpoint Settings dialog box opens.
  2. From the Physical drop-down list, select External.
  3. 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.
  4. Select By IP Address.
  5. In the adjacent text box, type the primary IP address of the External Firebox interface.

Screen shot of the Local Gateway tab

  1. Select the Remote Gateway tab.
  2. Select Static IP Address.
  3. In the adjacent text box, type the External IP address of your Google Cloud connection.
  4. Select By IP Address.
  5. In the adjacent text box, type the External IP address of your Google Cloud connection.

Screen shot of the Remote Gateway tab

  1. Click OK.
  2. In the Gateway Endpoint section, select Start Phase 1 tunnel when it is inactive.
  3. Select Add this tunnel to the BOVPN-Allow policies.

Screen shot of the completed Gateway settings

Next, add VPN Routes.

  1. Select the VPN Routes tab.
  2. In the VPN Routes section, click Add.
    The VPN Route Settings dialog box opens.
  3. From the Choose Type drop-down list, select an address type. In our example, we specify Network IPv4.
  4. In the Route To text box, type IP address of a route that will use this virtual interface.

Screen shot of the VPN Route Settings

  1. Click OK.

Screen shot of the VPN Routes tab

Next, configure the Phase 1 settings.

  1. Select the Phase 1 Settings tab.
  2. From the Version drop-down list, select IKEv2.
  3. For all other settings, keep the default values.

Screen shot of the Phase 1 settings tab

  1. Keep the default Phase 2 settings.
  2. Click Save.

Screen shot of the BOVPN virtual interfaces list

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.

  1. Log in to the Google Cloud Platform.
  2. From the navigation menu, select Networking > VPC network > VPC networks.

Screenshot of the VPC network settings in Google Cloud

  1. Click Enable.

Screenshot of the VPC network settings in Google Cloud

  1. Click Create VPC Network.
  2. In the Name text box, type a name for the VPC network. In our example, we use cloud-vpc-network.
  3. In the Subnets section, for Subnet creation mode, select Custom.
  4. In the Name text box, type a name for the subnet. In our example, we use subnet-asia-east1-192-168-1.
  5. 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.
  6. 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.
  7. (Optional) For Flow logs, select On.

Screenshot of the VPC network settings in Google Cloud

  1. In the New subnet section, click Done.
  2. For all other settings, keep the default values.
  3. Click Create.

Screenshot of the completed VPN network settings in Google Cloud

Next, reserve a static address:

  1. From the navigation menu, select Networking > VPC network > External IP addresses.
  2. Click Reserve static address.
    The Reserve a static address page opens.
  3. In the Name text box, type a name for the External IP address. In our example, we use google-cloud-vpn-ip.
  4. From the Region drop-down list, select a region where the address will be created. In our example, we select asia-east1 (Taiwan).
  5. For all other settings, keep the default values.

Screenshot of the static address settings in Google Cloud

  1. Click Reserve.

Next, configure the VPN connection settings:

  1. From the Navigation menu > Networking > Hybrid Connectivity > VPN.
  2. Click Create VPN connection.
  3. From the VPN options section, select Classic VPN.
  4. Click Continue.
  5. In the Google Compute Engine VPN gateway section, in the Name text box, specify a name for the VPN gateway.
  6. From the Network drop-down list, select the network you created. In our example, we select cloud-vpc-network.
  7. From the Region drop-down list, select a region. In our example, we select asia-east1.
  8. From the IP address drop-down list, select the IP address you created. In our example, we select google-cloud-vpn-ip.
  9. In the Tunnels section, in the Name text box, type a name for the tunnel.
  10. In the Remote peer IP address text box, type the External IP address of the remote peer.
  11. From the IKE version drop-down list, select IKEv2.
  12. In the IKE pre-shared key text box, type the IKE pre-shared key for this tunnel.
  13. For Routing options, select Route-based.
  14. In the Remote network IP ranges text box, type the IP address ranges of the remote networks.

Screen shot of the completed VPN connection settings in Google Cloud

  1. Click Done.
  2. Click Create.

Next, create firewall rules:

  1. From the navigation menu, select Networking > VPC network > Firewall rules.
  2. Click Create Firewall Rule.
  3. In the Name text box, type a name for this rule.
  4. In the Logs section, click On.
  5. From the Network drop-down list, select the network you created. In our example, we select cloud-vpc-network.
  6. For Direction of traffic, select Ingress.
  7. For Action on match, select Allow.
  8. From the Targets drop-down list, select All instances in the network.
  9. From the Source filter drop-down list, select IP ranges.
  10. In the Source IP ranges text box, type the IP address ranges of remote internal networks.
  11. For Protocols and ports, select Allow All or Specified protocols and ports. In our example, we select Allow all.
  12. For all other settings, keep the default values.

Screen shot of the firewall rule settings in Google Cloud

  1. Click Create.
  2. Create an egress rule:
    1. Repeat Steps 3–5.
    2. For Direction of traffic, select Egress.
    3. Repeat Steps 7–13.

Screen shot of the firewall rules list in Google Cloud

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:

  1. From Fireware Web UI, select System Status > VPN Statistics.
  2. Select the Branch Office VPN tab. Review the data to verify the VPN is established.

Screen shot of the BOVPN statistics data

  1. From the Google Cloud Platform navigation menu, select Networking > Hybrid Connectivity > VPN.
  2. Select Cloud VPN Tunnels.
  3. Review the data to verify the VPN is established.

Screen shot of the VPN tunnels list in Google Cloud Platform