dpkg -i /path/to/fortinac-persistent-agent_<version>.amd64.debRun the following command if you are installing as different user:
sudo dpkg -i /path/to/fortinac-persistent-agent_<version>.amd64.debRedHat/CentOS.
yum localinstall /path/to/fortinac-persistent-agent-<version>.x86_64.rpmRun the following command if installed as different user:
sudo yum localinstall /path/to/fortinac-persistent-agent-<version>.x86_64.rpm4) To configure destination server for 'Persistent Agent' change settings in the configuration file PersistentAgent.conf which is located in '/etc/xdg/com.bradfordnetworks' is needed.
cat etc/xdg/com.bradfordnetworks/PersistentAgent.conf5) Change the 'homeServer' value to the FortiNAC IP address or FQDN hostname like fortinac.forti.lab in this case, save changes to configuration file and run 'systemctl restart bndaemon.service' to restart the 'Persistent Agent' service.
[General]
allowedCiphers="ECDHE-RSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-SHA,RC4-SHA,RC4-MD5,PSK-3DES-EDE-CBC-SHA"
caTrustDepth=4
caFile=/etc/ssl/certs/ca-bundle.crt
selfSignedAllowed=true
securityEnabled=true
restrictRoaming=false
homeServer=
allowedServers=
maxConnectInterval=960
macPollInterval=5
showDisconnectedIcon=false
showDisconnectedMsg=false
disconnectedMsg="Your network access may be restricted. Persistent Agent is disconnected from Network Sentry."
ShowIcon=1
…6) Disable secure connection by disabling the value of 'securityenabled=' to "false".
homeServer=fortinac.test.lab
…
…7) Monitor output in the Persistent Agent log file saved in “/var/log/bndaemon”.
securityEnabled=true
…
2020-04-28 13:52:28 UTC :: Detected Server Version: 8.6.3.1206Troubleshooting.
2020-04-28 13:52:28 UTC :: Received,req=3127,resp=2,Acknowledge,fortinac.forti.lab
2020-04-28 13:52:28 UTC :: Processed,req=3127,resp=2,Acknowledge,fortinac.forti.lab
systemctl status bndaemon.serviceExample:
bndaemon.service - LSB: FortiNAC Persistent Agent
Loaded: loaded (/etc/init.d/bndaemon; generated)
Active: active (running) since Tue 2020-04-28 16:02:21 CEST; 6s ago
Docs: man:systemd-sysv-generator(8)
Process: 12382 ExecStart=/etc/init.d/bndaemon start (code=exited, status=0/SUCCESS)
Tasks: 13 (limit: 1059)
Memory: 3.8M
CGroup: /system.slice/bndaemon.service
└─12392 /opt/com.bradfordnetworks/PersistentAgent/bndaemon -d -p /var/run/bndaemon.pid -l /var/log/bndaemon
Related Articles
Technical Tip: Manually install and configure 'Persistent Agent' on Windows OS
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 2024 Fortinet, Inc. All Rights Reserved.