Cisco ISR and WatchGuard Firebox Branch Office VPN 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 Branch Office VPN tunnel between a WatchGuard Firebox and a Cisco Integrated Services Router (ISR).

Integration Summary

The hardware and software used in this guide include:

  • WatchGuard Firebox T55W
    • Fireware version 12.5.2 or higher
  • Cisco ISR 1921
    • Version 15.8(3)M3

Topology

This diagram shows the topology for a BOVPN connection between a Firebox and a Cisco ISR.

Topology diagram

Configure the Firebox

On the Firebox, configure a Branch Office VPN connection:

  1. Log in to Fireware Web UI.
  2. Select VPN > Branch Office VPN.
    The Branch Office VPN configuration page appears.
  3. In the Gateways section, click Add.
  4. In the Gateway Name text box, type a name to identify this Branch Office VPN Gateway.
  5. From the Address Family drop-down list, select IPV4 Addresses.
  6. In the Credential Method section, select Use Pre-Shared Key.
  7. In the adjacent text box, type the pre-shared key.

Screen shot of the General Settings tab

  1. In the Gateway Endpoint section, click Add.
    The Gateway Endpoint Settings dialog box appears.
  2. From the External Interface 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 adjacent text box, type the primary IP address of the External Firebox interface.

Screen shot of the Local Gateway settings

  1. Select the Remote Gateway tab.
  2. Select Static IP Address.
  3. In the adjacent text box, type the IP address of your Cisco ISR WAN connection.
  4. Select By IP Address.
  5. In the adjacent text box, type the IP address of your Cisco ISR WAN connection.
  6. Keep the default settings for all other options.

Screen shot of the Remote Gateway settings

  1. Click OK.
  2. In the Gateway Endpoint section, select the Start Phase 1 tunnel when Firebox starts check box.

Screen shot of the General Settings

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

Screen shot of the Phase 1 settings

  1. Click Save.
  2. In the Tunnels section, click Add.

Screen shot of the added gateway

  1. From the Gateway drop-down list, select the gateway that you configured.
  2. In the Addresses section, click Add.

Screen shot of the Addresses tab

  1. In the Local IP section, from the Choose Type drop-down list, select Network IPv4.
  2. In the Network IP text box, type the local IP segment. This is the local network protected by the Firebox.
  3. In the Remote IP section, from the Choose Type drop-down list, select Network IPv4.
  4. In the Network IP text box, type the remote IP segment. This is the local network protected by the Cisco ISR.

Screen shot of the Addresses settings

  1. Click OK.
  2. Keep the default values for Phase 2 settings.
  1. Click Save.

Configure the Cisco ISR

To configure the Cisco ISR, from the Cisco CLI:

  1. Define the keyring and specify your VPN pre-shared key:
  2. Router>enable

    Router#config t

    Router(config)#

    Router(config)#crypto ikev2 keyring wg-key

    Router(config-ikev2-keyring)#peer WG

    Router(config-ikev2-keyring-peer)#address 203.0.113.2

    Router(config-ikev2-keyring-peer)#pre-shared-key 11111111

    You must specify the same pre-shared key that you specified in the BOVPN configuration on the Firebox.

    Router(config-ikev2-keyring-peer)#exit

    Router(config-ikev2-keyring)#exit

    Router(config)#

  3. Define the IKEv2 proposal:
  4. Router(config)#crypto ikev2 proposal wg-proposal

    The IKEv2 proposal must be one of these two options:

    • Option 1 — Encryption algorithm other than AES-GCM, an integrity algorithm, and a Diffie-Hellman group. In our example, we use AES-CBC-256, SHA256, and Diffie-Hellman group 14.
    • Option 2 — AES-GCM encryption algorithm, a PRF algorithm, and a Diffie-Hellman group.

    Router(config-ikev2-proposal)#encryption aes-cbc-256

    Router(config-ikev2-proposal)#integrity sha256

    Router(config-ikev2-proposal)#group 14

    Router(config-ikev2-proposal)#exit

    Router(config)#

  5. Define the IKEv2 policy:
  6. Router(config)#crypto ikev2 policy wg-policy

    The IKEv2 policy must have at least one complete proposal attached.

    Router(config-ikev2-policy)#proposal wg-proposal

    Router(config-ikev2-policy)#exit

    Router(config)#

  7. Define the crypto ACL:
  8. Router(config)#ip access-list extended SITE1-SITE2-CACL

    Router(config-ext-nacl)#permit ip 10.0.1.0 0.0.0.255 192.168.13.0 0.0.0.255

    Router(config-ext-nacl)#exit

    Router(config)#

  9. Define the transform set:
  10. Router(config)#crypto ipsec transform-set wg-set esp-aes 256 esp-sha256-hmac

    Router(cfg-crypto-trans)#exit

    Router(config)#

  11. Define the IKEv2 profile:
  12. Router(config)#crypto ikev2 profile wg-profile

    An IKEv2 profile must have:

    • A local and a remote authentication method
    • A match identity, match certificate, or match any statement.

    Router(config-ikev2-profile)#match identity remote address 203.0.113.2 255.255.255.255

    Router(config-ikev2-profile)#authentication local pre-share

    Router(config-ikev2-profile)#authentication remote pre-share

    Router(config-ikev2-profile)#keyring local wg-key

    Router(config-ikev2-profile)#exit

    Router(config)#

  13. Define the crypto map:
  14. Router(config)#crypto map wg-map 10 ipsec-isakmp

    The new crypto map remains disabled until a peer and a valid access list are configured.

    Router(config-crypto-map)#set peer 203.0.113.2

    Router(config-crypto-map)#set pfs group14

    Router(config-crypto-map)#set security-association lifetime seconds 3600

    Router(config-crypto-map)#set transform-set wg-set

    Router(config-crypto-map)#set ikev2-profile wg-profile

    Router(config-crypto-map)#match address SITE1-SITE2-CACL

    Router(config-crypto-map)#exit

    Router(config)#

  15. Activate the crypto map by applying the interface:
  16. Router(config)#interface GigabitEthernet0/0

    Router(config-if)#crypto map wg-map

    Router(config-if)#exit

    Router(config)#exit

    Router#

For more information about the Cisco ISR VPN configuration and supported IKE ciphers, see the Cisco ISR 1921 Configuration Guides.

Test the Integration

To test the integration, from Fireware Web UI:

  1. Select System Status > VPN Statistics.
  2. Select the Branch Office VPN tab and verify the VPN is established.

The screenshot of firebox, picture10, vpn statistics

  1. Verify that Host1 (behind the Firebox) and Host2 (behind the Cisco ISR) can ping each other.