Configuring the FW-LYON firewall
Creating objects corresponding to LANs at the LILLE and LYON sites
- Go to Configuration > Objects > Network.
- Click on Add.
- In the column on the left side of the object creation window, select Network.
- Specify the Object name (LIL-LAN in this example).
- Enter the Network IP address in the form of a network/mask. The network mask can be entered in CIDR or decimal format.
- Click on Create and duplicate.
- Repeat steps 4 and 5 to create the object LYO-LAN.
- Click on Create.
Creating the object corresponding to the LYON WAN gateway/link
- Go to Configuration > Objects > Network.
- Click on Add.
- In the column on the left side of the object creation window, select Host.
- Specify the Object name (LYO-WAN-1 in this example).
- Enter its IPv4 address.
- Click on Create.
Setting this router object as the FW-LYON firewall's gateway
- Go to Configuration > Network > Routing.
- In the Default gateway field, select the host object that was created earlier (LYO-WAN-1 in this example).
- Click on Apply then Save.
Setting the IPsec peer for the LILLE site
This is a mobile peer, as the FW-LYON firewall cannot predict the address that the FW-LILLE firewall will use to set up the tunnel.
Similarly to the FW-LILLE firewall, the DPD (Dead Peer Detection) option has to be set to High to force the IPsec tunnel to be renegotiated immediately when the link is down.
- Go to Configuration > VPN > IPsec VPN > Peers tab.
- Click on Add, then on New mobile peer.
- Enter a name for this peer (FW-LILLE in the example).
- Select the IKEv2 version.
- Choose the IKE profile to use.
It has to be the same as the one used on the FW-LILLE firewall. - Click on Next.
- For the Authentication type, select Pre-shared key (PSK).
- Click on Next.
- Click on Add:
- For the ID, enter the public IP address of the LILLE site's first WAN link.
Enter the Pre-shared key and confirm it.
It has to be the same one defined on the FW-LILLE firewall. - Click on Apply.
- Repeat steps A to C to set the pre-shared keys used for the two other WAN links on the LILLE site.
They have to be the same ones defined on the FW-LILLE firewall.
- For the ID, enter the public IP address of the LILLE site's first WAN link.
- Click on Next.
You will be shown a summary of the peer's details. - Click on Finish.
Details on the peer are shown. - Ensure that the value of the Local address is Any.
- In the Advanced properties section, set the DPD field to High.
- Click on Apply then on Save.
- Changes can be applied immediately by clicking on Yes, activate the policy.
NOTE
As the peer is mobile, it is automatically set to Responder-only mode.
As the peer is mobile, it is automatically set to Responder-only mode.
Creating the IPsec policy to set up the tunnel with the FW-LILLE peer
- Go to Configuration > VPN > IPsec VPN > Encryption Policy - Tunnels tab > Mobile – Mobile users tab.
- Click on Add, then on New standard mobile policy.
- In the Local resources field, select the traffic endpoint of the LYON site (network object LYO-LAN in the example).
The endpoint may be a network group. - In the Peer selection field, select the peer that was created for the LILLE firewall (host object FW-LILLE in the example).
- Click on Finish.
- Click in the Keepalive column and select a duration from the drop-down menu (600 ms in the example).
This setting determines how long to keep the tunnel up even when it is not in use. - Double-click in the Status column to enable this rule in the IPsec policy.
- Click on Apply then Save.
- Changes can be applied immediately by clicking on Yes, activate the policy.
On the FW-LYON firewall, the IPsec policy between the LYON and LILLE sites is therefore:
Creating the filter rule to enable dialogue between the LYON and LILLE sites
- Go to Configuration > Security policy > Filter - NAT, Filtering tab.
- Click on New rule > Single rule.
- Double-click in any column in this rule.
- General menu on the left: switch the Status of the rule to On.
- Action menu, General tab: set the Action to pass.
- Source menu on the left: select the object corresponding to the LILLE local network (LIL-LAN in this example).
- Destination menu on the left: select the object corresponding to the LYON local network (LYO-LAN in this example).
- Port/Protocol menu on the left: add to the grid the Destination ports of the various objects corresponding to the ports to be allowed in this filter rule.
- Inspection menu on the left: we recommend leaving the default Inspection level, IPS.
- Click on OK.
- Repeat steps 2 to 10 with the LYO-LAN object as the source, and the LIL-LAN object as the destination.
- Click on Apply.