Fortigate MGMT (dedicated) access over IPSEC
Hi all,
My first post here!
I am trying to deploy FGT (V7.0.8) on two sites, each FGT with its own dedicated mgmt interface, and have HTTPS access over an IPSEC tunnel, diagram below:

From the local site, each admin pc can access the local FGT web interface, the issue starts when the admin at pc A tries to access the FGT-B web interface tunnel and when the admin at pc B tries to access the FGT-A web interface.
mgmt interface configuration of each FGT below:
FGT-A:
config system interface edit "mgmt" set vdom "root" set ip 10.206.250.2 255.255.255.0 set allowaccess ping https ssh fgfm fabric set type physical set dedicated-to management set snmp-index 2 set trust-ip-1 10.21.31.0 255.255.255.0 set trust-ip-2 10.11.32.0 255.255.255.0 next
FGT-B:
config system interface edit "mgmt" set vdom "root" set ip 10.205.250.2 255.255.255.0 set allowaccess ping https ssh fgfm fabric set type physical set dedicated-to management set snmp-index 2 set trust-ip-1 10.21.31.0 255.255.255.0 set trust-ip-2 10.11.32.0 255.255.255.0 next
Diagnose debug flow from FGT-A when admin B tries to access FGT-A icmp/ping
2022-10-20 18:59:49 id=20085 trace_id=1505 func=print_pkt_detail line=5871 msg="vd-root:0 received a packet(proto=1, 10.21.31.53:2->10.206.250.2:2048) tun_id=169.254.111.1 from vpn_mpls_0. type=8, code=0, id=2, seq=7741." 2022-10-20 18:59:49 id=20085 trace_id=1505 func=init_ip_session_common line=6050 msg="allocate a new session-01a534dd, tun_id=169.254.111.1" 2022-10-20 18:59:49 id=20085 trace_id=1505 func=vf_ip_route_input_common line=2605 msg="find a route: flag=80000000 gw-10.206.250.2 via root" 2022-10-20 18:59:49 id=20085 trace_id=1505 func=fw_local_in_handler line=500 msg="iprope_in_check() check failed on policy 0, drop" 2022-10-20 18:59:54 id=20085 trace_id=1506 func=print_pkt_detail line=5871 msg="vd-root:0 received a packet(proto=1, 10.21.31.53:2->10.206.250.2:2048) tun_id=169.254.111.1 from vpn_mpls_0. type=8, code=0, id=2, seq=7746." 2022-10-20 18:59:54 id=20085 trace_id=1506 func=init_ip_session_common line=6050 msg="allocate a new session-01a535df, tun_id=169.254.111.1" 2022-10-20 18:59:54 id=20085 trace_id=1506 func=vf_ip_route_input_common line=2605 msg="find a route: flag=80000000 gw-10.206.250.2 via root" 2022-10-20 18:59:54 id=20085 trace_id=1506 func=fw_local_in_handler line=500 msg="iprope_in_check() check failed on policy 0, drop"
My understanding is tha traffic was denied by default policy, so I tried to create a firewall policy as below, but I can't set mgmt interface as destinf.
edit 0 set name "overlay_to_mgmt" set srcintf "overlay" set dstintf "mgmt" set action accept set srcaddr "x" set dstaddr "y" set schedule "always" set service "ALL" set logtraffic all
The error msg:
set dstintf "mgmt"
node_check_object fail! for name mgmt
value parse error before 'mgmt'
Command fail. Return code -651
I believe that there is no way to allow this https access to dedicated mgmt interface from source address incoming from a remote site over IPSEC, am I correct?
some related docs:
