Created on
10-13-2024
10:48 PM
Edited on
04-11-2025
01:36 AM
By
Jean-Philippe_P
| Description | This article provides the FortiGate CLI configuration to connect with FortiManager via an IPsec tunnel. |
| Scope | FortiGate. |
| Solution |
Tunnel interface configuration:
FGT(HUB1)# show
FortiGate default central management configuration:
FGT (central-management) # show full
FGT (central-management) # set type fortimanager FGT (central-management) # show full end
config system central-management set serial-number XXXXXXXXX <----- Provide FortiManager Serial Number.
To verify the connection status:
diagnose fdsm central-mgmt-status
To confirm which source and interface are being used by FortiGate, a packet sniffer can be run on FortiGate.
diagnose sniffer packet any "port 541" 4 0 l <----- port 541 is used for connection to FortiManager.
Related articles: Technical Tip: Routing Challenges When Accessing FortiManager using IPSec Tunnel Technical Tip: Functionality of 'set interface-select-method' for local-traffic with SD-WAN |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2026 Fortinet, Inc. All Rights Reserved.