Skip to main content
osaleem2_10
Explorer III
January 25, 2025
Question

FortiNAC persisting agent connection

Hi everyone,

 

recently I did fortinac enforcement to my environment, first I integrated the NAC with my fortigate, and then I checked that all machines are okay getting the right policy and right VLAN.

 

After I did the enforcement it starts shows some agent connection errors, and machines getting the wrong vlan policy because of that connection error. how can I do troubleshooting, as before enforcement machine was able to communicate with NAC, after enforcement it was assigned to Reg-VLAN because no connection!

 

Im sure there is a policy to all all traffic with all services and ports.

Im sure the machine has Agent installed and 802.1X configuration.

 

other machines in the same branch working fine as you can see on the below screenshot. only some getting that weird error. any advice?

 

Screenshot 2025-01-25 161220.png

4 replies

AEK
SuperUser
SuperUser
January 25, 2025

Hi Osaleem

Most probable reasons: certificate issue, or client can't reach FNAC server.

From the client try to ping the FNAC server. If it works then try sniffer from NAC side (TCP 4568) to see if the PA traffic is reaching FNAC. If it works then probably a certificate issue.

AEK
osaleem2_10
Explorer III
January 26, 2025

Hi AEK,

 

thanks for your reply.

 

do u mean reaching the NAC while the machine is in registration or remediation vlan?

 

and regarding to sniffing packet from NAC side, is this command enough to show the connection:

 

# exec enter-shell
# sudo tcpdump -nnvi port1 '(port  4568) and host <machine-IP>'

 

 

AEK
SuperUser
SuperUser
January 26, 2025

Hi Osaleem

It should reach NAC while in any VLAN: registration, remediation, prod, and so

The tcpdump command seems correct.

AEK
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT