Fortigate HA cluster and reserved management interface
Hello community, This is my first post on this forum :-) I need some help about the reserved management interfaces concept and there access from/to the outside. My objectives are : - having a cluster of 2 fortigate 1500D in active/passive mode - aggregated interfaces "inside" and "outside" - single reserved management interfaces for syslog, snmp, ntp,dns,...(logs sent to FortiManager) - using mgmt1 as reserved mgmt intf - they are on the same network - No specific management vdom, all in vdom root (but vdom-admin activated for futures configurations) - 2 heartbeat interfaces - 2 session sync interfaces Here is a sample of the architecture : Outside
_____________________________________ || || agg_if || || agg_if || || || [size="1"]2_hb_intf [/size] || [size="1"] mgmt1[/size] -----------===========----------[size="1"]mgmt1 [/size] mgmt-----------| FW1 | | FW2 |-------------mgmt network [size="1"]network [/size] -----------===========---------- || [size="1"]2_session_sync_intf [/size] || agg_if || || agg_if || || || || ______________________________________ inside First, I've configured the 2 Fortigate 1500D in cluster active/passive mode with a very basic configuration: - factoryreset - deleting all default routes, dhcp, ip,... - configuring an IP for each mgmt1 (2 differents IP on the same network) and allow-access https,ssh,snmp,ping - configuring date/time, ntp (without source-ip parameter) - disable hb interfaces and session interfaces of FW2 - cluster configuration - enable hb interfaces and session interfaces of FW2 - configuring syslog server (without source-ip parameter) And that's it for the moment. No default/special route, no aggregated interfaces first Cluster sync is ok. Here is the ha configuration : config system ha set group-id 1 set group-name "my_cluster" set mode a-p set password <my_pass> set hbdev "port_x" 50 "port_y" 50 set session-sync-dev "port_a" "port_b" set session-pickup enable set ha-mgmt-status enable set ha-mgmt-interface "mgmt1" set ha-mgmt-interface-gateway x.x.x.x set override disable set priority 200/100 end My questions :
- I can ping mgmt1 from the management network or from any other vlan connected to the mgmt network : Why does it works while there is no route (default or specific) to the different vlan network connected to the mgmt net? I've checked the routing static table and routes kernel table and there is no route via interface mgmt1. I guess it works anyway because of the specific gateway setting in the ha configuration, is it correct ? - I can't ping the interface-gateway sets in the ha config from the vdom root ( execute ping x.x.x.x) With a packet sniffer command, no ping traffic is going out the firewall. Why ? How does the firewall decide which traffic to send through mgmt1 and which other traffic to send via the routing table ? Does the firewall allow only internal processes to send traffic from mgmt1 (snmp, syslog,...) and forbid other traffic ? - With this configuration, I see no mgmt traffic initiated from the firewalls (no syslog messages from mgmt1) If I add the "set ha-direct" command in the cluster ha config, the firewalls send syslog messages but no ntp traffic (and syslog message indicate "ntp server is determinated unreachable"). I have not found a lot of details about this parameter except "Enable/disable sending of messages (logs, SNMP, RADIUS) directly from ha-mgmt interface" and that it's a special parameter for snmp configuration. What does this command exactly ? I would like to know how the firewall chooses which traffic is sent via this reserved management interface. Is all the traffic initiated by the firewall sent from this interface (dns, syslog, snmp, logs,...) or is there any configuration parameters that could allow to define which traffic to sent via mgmt1 or not ? ???
