Created on
11-04-2016
05:06 PM
Edited on
03-10-2023
08:06 AM
By
Jean-Philippe_P
Description
This article describes the support of FortiGate for TACACS+ Accounting starting from v7.0.2.
Solution
This feature allows customers to send FortiGate system log entries to an external TACACS+ accounting server. Up to three external TACACS+ servers can be configured, each with a different filter for log events. These filters include TACACS+ accounting for login events, config change events, and CLI commands audit.
To configure the TACACS+ Accounting settings:
# config log tacacs+accounting setting
set status enable
set server "10.0.0.100"
set server-key ************
end
To configure the filter for the TACACS+ Accounting:
# config log tacacs+accounting filter
set login-audit enable
set config-change-audit enable
set cli-cmd-audit enable
end
Note: Additional TACACS+ Accounting servers and filters can be configured with 'tacacs+accounting2' and 'tacacs+accounting3'.
To troubleshoot the TACACS+ Accounting settings:
# diag debug enable
# diag debug app syslogd -1 -> This helps to display the errors if any.
# diag test app syslogd 4 -> Statistics on TACACS+ Logging.
FortiOS prior to v7.0.2 is capable of working with TACACS+ Authentication and Authorization, but not with Accounting. TACACS+ Accounting messages can lead to the following error message (diag debug application fnbamd):
2016-10-28 11:26:01 message_loop: checking timeouts
For FortiOS prior to v7.0.2, it is recommended to disable accounting messages between the FortiGate units and TACACS+ servers.
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 2023 Fortinet, Inc. All Rights Reserved.