FortiGate lab 19 of 25
Dial-up IPsec: hub and spoke
Turn head office into a dial-up VPN hub that any branch can join without the hub knowing its address, let the hub add routes for each spoke automatically, carry spoke-to-spoke traffic through the hub, and relate it to remote-access VPN after SSL VPN's removal.
Run this lab
It needs Standard: its 7 nodes are set to 7 vCPU and 8,704 MB in total.
In your workspace: Shared, then FortiGate NSE 4 guided labs, then 19 - Dial-up IPsec - hub and spoke
- Level
- Advanced
- Time
- About 75 minutes
- Nodes need
- 7 vCPU, 8,704 MB
- Smallest plan
- Standard
The scenario
Harbourside is opening branches faster than you can build site-to-site tunnels, and some branches get their internet address by DHCP. The new design: head office is a dial-up hub. Any branch FortiGate that knows the hub's address and the key can connect, the hub learns each branch's network automatically, and branches reach each other through the hub. Two branches are ready today: B1 and B2.
| Device | Interface | Address | Connects to |
|---|---|---|---|
| FGT-HQ (hub) | port1 / port2 | 203.0.113.1/24 / 10.1.10.1/24 | Internet / H1 10.1.10.50 |
| FGT-B1 (spoke) | port1 / port2 | 203.0.113.2/24 / 10.2.10.1/24 | Internet / H2 10.2.10.50 |
| FGT-B2 (spoke) | port1 / port2 | 203.0.113.3/24 / 10.3.10.1/24 | Internet / H3 10.3.10.50 |
Tunnel values: hub phase 1 DIALUP, spokes' phase 1 TO-HUB; IKEv2, des-sha256, DH 14, pre-shared key LabVpnKey1!. All company networks fall inside 10.0.0.0/8 (address object CORP-NETS).
Evaluation licence. These FortiGates run with low-strength encryption only, so IPsec offers DES only (
des-md5todes-sha512): no AES, no 3DES. The lab usesdes-sha256with DH group 14 to get working tunnels. Never use DES in production: use AES-256-GCM (aes256gcm-prfsha384) with DH group 19, 20 or 21.
What you’ll practise
- Explain dial-up (dynamic) IPsec and why the hub needs no peer addresses
- Build a dial-up hub with add-route and one shared tunnel interface
- Configure spokes with summary selectors and routes
- Allow spoke-to-spoke traffic through the hub and prove the path
- Describe remote-access IPsec (mode-config, XAuth) as the replacement for SSL VPN tunnel mode
The tasks
- Start the lab
- Dial-up concepts
- Build the hub
- Build spoke B1
- Build spoke B2
- Spoke to spoke through the hub
- Remote users (reading task)
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- FGT-HQ
port1to Internet (network) - FGT-B1
port1to Internet (network) - FGT-B2
port1to Internet (network) - INET
eth0to Internet (network) - FGT-HQ
port2to H1eth0 - FGT-B1
port2to H2eth0 - FGT-B2
port2to H3eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| FGT-HQ | Fortinet FortiGate | fortinet-FGT-v7.0.17.M-build0682 | 1 vCPU, 2,048 MB |
| FGT-B1 | Fortinet FortiGate | fortinet-FGT-v7.0.17.M-build0682 | 1 vCPU, 2,048 MB |
| FGT-B2 | Fortinet FortiGate | fortinet-FGT-v7.0.17.M-build0682 | 1 vCPU, 2,048 MB |
| INET | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
| H1 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| H2 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| H3 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
FortiGate NSE 4 guided labs.Open
19 - Dial-up IPsec - hub and spokeand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More FortiGate labs
Related labs in other courses
CloudLabBox is independent of Fortinet. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.