Symptoms:
The node in control authenticates endpoints normally. Against the other node: A switch or wireless controller marks the secondary FortiNAC RADIUS server dead after its retries expire. A RADIUS test from the NAS to the secondary node times out. No Access-Accept, Access-Reject or Access-Challenge is returned. The Persistent Agent sends TCP SYN to port 4568 on the secondary node and receives no SYN-ACK, so the connection times out and the agent moves to the next server in its list. Although the administrator configured the secondary node to allow access via RADIUS and agent options, these settings are being automatically overwritten.
The interface configuration on the node in-control looks correct:
show system interface
config system interface
edit port1
set allowaccess https-adminui ssh ping snmp nac-ipc radius-auth radius-acct nac-agent
next
end
The interface configuration on the secondary node not in-control looks like this:
show system interface
config system interface
edit port1
set allowaccess dhcp https-adminui ping ssh
A capture on that node shows the request arriving and no response being generated on the secondary node:
execute tcpdump -i any port 1812
This combination leads administrators to re-add allowaccess options, re-key the RADIUS shared secret, or open firewall policies that are already open. None of these is the cause.
Identify which node is in control:
get system ha status
The server marked (Active) is in control. The same state is shown in the GUI under Dashboard -> Main -> System Summary, as Running - In Control and Running - Not In Control.
Cause:Â This is expected behavior. Two independent layers decide whether a request is answered, and only one of them is allowaccess.
Layer | What it controls | State on the node not in control |
|---|
set allowaccess (FortiNAC-OS host ACL) | Whether packets for a service are accepted by the appliance on that interface | Unchanged. It is static configuration, is not synchronised between nodes, and is not altered by the HA role | FortiNAC application services (RADIUS server and proxy, Persistent Agent server, SNMP agent, portal) | Whether a process is listening and able to answer | Not running. These start only on the node in control |
The node not in control runs the management process only. That process monitors the peer and receives database replication. It does not serve RADIUS or persistent agent traffic.
The result is a permitted port with no listener behind it. Adding or re-applying allowaccess options on that node cannot produce a reply, because the ACL was never the thing blocking the traffic.
After a failover, the roles reverse. The node that takes control starts the services and begins answering on the same ports, with no change to allowaccess on either node.
Confirming the cause:
Confirm the role of the node under test with get system ha status. A node reported as not (Active) is expected to be silent on these ports. Reproduce the request and capture on the node under test. The request arrives and no reply is sent. The absence of a reply with a correct ACL is the signature of a missing listener, not of a dropped packet. Repeat the same request against the node in control. A reply confirms that the configuration, shared secret and network path are correct, and that only the HA role differs.
What to configure instead:
No change is required on the node not in control. Do not start the application services manually on the node not in control to make it answer. Both nodes serving RADIUS at the same time is not a supported state. A failover is the only supported way to move the services. To validate the behavior in a maintenance window, use a planned failover and repeat the RADIUS or agent test against the node that has taken control.
Related articles:
|