Fortinet FortiGate BOVPN Integration Guide
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, go to the documentation and support resources for that product.
This integration guide describes how to configure a Branch Office VPN (BOVPN) tunnel between a WatchGuard Firebox and a Fortinet FortiGate 60E.
Contents
Integration Summary
The hardware and software used in this guide include:
- WatchGuard Firebox
- Fireware v12.10 or higher
- Fortinet FortiGate 60E
- FortiOS v7.4.1 or higher
Topology
This diagram shows the topology for a BOVPN connection between a Firebox and a Fortinet FortiGate 60E.
Configure the Firebox
On the Firebox, configure a BOVPN connection:
- Log in to Fireware Web UI.
- Select VPN > Branch Office VPN.
The Branch Office VPN configuration page opens. - In the Gateways section, click Add.
- In the Gateway Name text box, type a name to identify this Branch Office VPN gateway.
- From the 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 String-Based option.
- In the Gateway Endpoint section, click Add.
The Gateway Endpoint Settings dialogue box opens. - From the External Interface 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 IP address of your Fortinet WAN connection.
- Select By IP Address.
- In the adjacent text box, type the IP address of your Fortinet WAN connection.
- Keep the default settings for all other options.
- Click OK.
- In the Gateway Endpoint section, select the Start Phase 1 tunnel when Firebox starts check box.
- Select the Phase 1 Settings tab.
- From the Version drop-down list, select IKEv2.
- Keep all other Phase 1 settings as the default values.
- Click Save.
- In the Tunnels section, click Add.
- From the Gateway drop-down list, select gateway.1.
- In the Addresses section, click Add.
- In the Local IP section, from the Choose Type drop-down list, select Network IPv4.
- In the Network IP text box, type the local IP segment. This IP address is the internal network that the VPN protects.
- In the Remote IP section, from the Choose Type drop-down list, select Network IPv4.
- In the Network IP text box, type the remote IP segment. This IP address is the internal network that the VPN protects.
- Click OK.
- Keep the default Phase 2 Settings.
- Click Save.
- Repeat the previous step to create another tunnel for another subnet. In our example, the second tunnel is named tunnel.2.
Configure the FortiGate 60E
Follow these steps to configure the interfaces, VPN settings, policies, and routes on your FortiGate device.
Interface Settings
- Log in to the FortiGate 60E Web UI at https://<IP address of FortiGate 60E>. The default IP address is 192.168.1.99.
- Select Network > Interfaces.
- Configure the external interface (wan1) and the internal interface (internal2 and internal3). For information about how to configure interfaces, go to the Fortinet User Guide.
Enable Policy-based VPN
- Select System > Feature Visibility.
- Enable Policy-based IPsec VPN under Additional Features.
- Click Apply.
IPSec VPN Tunnels Settings
- Select VPN > IPsec Tunnels.
- Click Create New > IPsec Tunnel.
- In the Name text box, type the name. In our example, the name is To WG.
- From the Template type options, select Custom to continue without a template.
- Click Next.
- Clear the Enable IPsec Interface Mode check box.
- From the Remote Gateway drop-down list, select Static IP Address.
- In the IP Address text box, type the public IP address of the Firebox. In our example, the IP address is 203.0.113.2.
- From the Interface drop-down list, select wan1. Leave the default value for all other settings in the Network section.
- In the Authentication section, from the Method drop-down list, select Pre-shared Key.
- In the Pre-shared Key text box, type the pre-shared key.
- In the IKE section, for Version, select 2.
- In the Phase 1 Proposal section, remove all proposals except AES256 for encryption and SHA256 for authentication.
- For the Diffie-Hellman Groups, select 14. Clear all other check boxes.
- Leave the default value for all other Phase 1 settings.
- In the Phase 2 Selectors section, from the Local Address drop-down list, select Subnet.
- Type the local IP segment. This IP address is the internal network that the VPN protects.
- From the Remote Address drop-down list, select Subnet.
- Type the remote IP segment. This IP address is the internal network that the VPN protects.
- Expand Advanced.
- Remove all proposals except AES256 for encryption and SHA256 for authentication.
- Enable Enable Replay Detection.
- Enable Enable Perfect Forward Secrecy (PFS)
- For the Diffie-Hellman Groups, select 14. Clear all other check boxes.
- Leave the default value for all other Phase 2 settings.
- Click OK.
- Click Edit to edit this IPsec Tunnel.
- Click Add under Phase 2 settings.
- Repeat the previous step to create a new Phase 2 for another subnet.
- Click OK.
Policy Settings
- Select Policy & Objects > Addresses.
- Click Create New > Address.
- In the Name text box, type a name for the IP address. In our example, the name is WG_INT.
- From the Type drop-down list, select Subnet.
- In the IP/Netmask text box, type the IP segment.
- Leave the default value for all other settings.
- Click OK.
- Repeat the previous step to create more IP segments.
- Select Policy & Objects > Firewall Policy.
- Click Create New.
- In the Name textbook, type the object name. In our example, the name is Policy to WG.
- From the Incoming Interface drop-down list, select internal2.
- From the Outgoing Interface drop-down list, select wan1.
- From the Source Address drop-down list, select FG_INT.
- From the Destination Address drop-down list, select WG_INT.
- From the Schedule drop-down list, select Always.
- From the Service drop-down list, select All.
- In the Action list, select IPsec.
- From the VPN Tunnel drop-down list, select To WG.
- Enable Allow traffic to be initiated from the remote site.
- Leave the default value for all other settings.
- Click OK.
The policy that you created appears on this page.
- Repeat the previous step to create another policy for another subnet.
Route Settings (Optional)
If you did not configure a gateway for the wan1 interface, you must add a route manually.
- From the navigation menu, select Network > Static Routes.
- Click Create New.
- In the Destination > Subnet text box, type 0.0.0.0/0.0.0.0.
- In the Gateway Address text box, type the IP address for your wan1 gateway.
- From the Interface drop-down list, select wan1.
- Leave the default value for all other settings.
- Click OK.
Test the Integration
To test the integration, from Fireware Web UI:
- Select System Status > VPN Statistics.
- Verify that the 2 VPN tunnels are active.
To test the integration, from the FortiGate Web UI:
- Select Dashboard > Network > IPsec.
- Verify that the 2 VPN tunnels are active.
Finally, verify that the hosts successfully ping.