Configure TACACS+ Authentication
Table of Contents
Expand All
|
Collapse All
Next-Generation Firewall Docs
-
-
- Cloud Management of NGFWs
- PAN-OS 10.0 (EoL)
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0 (EoL)
- PAN-OS 11.1 & Later
- PAN-OS 9.1 (EoL)
-
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0 (EoL)
- PAN-OS 11.1 & Later
-
-
- Cloud Management and AIOps for NGFW
- PAN-OS 10.0 (EoL)
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0 (EoL)
- PAN-OS 11.1
- PAN-OS 11.2
- PAN-OS 8.1 (EoL)
- PAN-OS 9.0 (EoL)
- PAN-OS 9.1 (EoL)
End-of-Life (EoL)
Configure TACACS+ Authentication
You can configure TACACS+ authentication for
end users as well as firewall or Panorama™ administrators. You can also use a
TACACS+ server to manage administrator authorization (role and access domain
assignments) by defining Vendor-Specific Attributes (VSAs). For all users, you
must configure a TACACS+ server
profile that defines how the firewall or Panorama connects to the server.
You then assign the server profile to an
authentication profile for each set of users who require common
authentication settings. What you do with the authentication profile depends on
which users the TACACS+ server authenticates:
- End users—Assign the authentication profile to an authentication enforcement object and assign the object to Authentication policy rules. For the full procedure, see Configure Authentication Policy.
- Administrative accounts with authorization managed locally on the firewall or Panorama—Assign the authentication profile to firewall administrator or Panorama administrator accounts.
- Administrative accounts with authorization managed on the TACACS+ server—The following procedure describes how to configure TACACS+ authentication and authorization for firewall administrators. For Panorama administrators, refer to Configure TACACS+ Authentication for PanoramaAdministrators.
- Add a TACACS+ server profile.The profile defines how the firewall connects to the TACACS+ server.
- Select DeviceServer ProfilesTACACS+ or PanoramaServer ProfilesTACACS+ on Panorama and Add a profile.Enter a Profile Name to identify the server profile.(Optional) Select Administrator Use Only to restrict access to administrators.Enter a Timeout interval in seconds after which an authentication request times out (default is 3; range is 1–20).Select the Authentication Protocol (default is CHAP) that the firewall uses to authenticate to the TACACS+ server.Select CHAP if the TACACS+ server supports that protocol; it's more secure than PAP.Add each TACACS+ server and enter the following:
- A Name to identify the server.
- The TACACS+ Server IP address or FQDN. If you use an FQDN address object to identify the server and you subsequently change the address, you must commit the change for the new server address to take effect.
- A Secret and Confirm Secret to encrypt usernames and passwords.
- The server Port for authentication requests (default is 49).
Click OK to save the server profile.Assign the TACACS+ server profile to an authentication profile.The authentication profile defines the authentication settings that are common to a set of users.- Select DeviceAuthentication Profile and Add a profile.Enter a Name to identify the profile.Set the Type to TACACS+.Select the Server Profile you configured.Select Retrieve user group from TACACS+ to collect user group information from VSAs defined on the TACACS+ server.The firewall matches the group information using the groups you specify in the Allow List of the authentication profile.Select Advanced and in the Allow List, Add the users and groups that can authenticate with this authentication profile.Click OK to save the authentication profile.Configure the firewall to use the authentication profile for all administrators.
- Select DeviceSetupManagement and edit the Authentication Settings.Select the Authentication Profile you configured and click OK.Configure the roles and access domains that define authorization settings for administrators.If you already defined TACACS+ VSAs on the TACACS+ server, the names you specify for roles and access domains on the firewall must match the VSA values.
- Configure an Admin Role Profile if the administrator will use a custom role instead of a predefined (dynamic) role.If the firewall has more than one virtual system, configure an access domain by selecting DeviceAccess Domain, Add an access domain, enter a Name to identify the access domain, and Add each virtual system that the administrator will access, and then click OK.Commit your changes to activate them on the firewall.Configure the TACACS+ server to authenticate and authorize administrators.Refer to your TACACS+ server documentation for the specific instructions to perform these steps:
- Add the firewall IP address or hostname as the TACACS+ client.Add the administrator accounts.If you selected CHAP as the Authentication Protocol, you must define accounts with reversibly encrypted passwords. Otherwise, CHAP authentication will fail.Define TACACS+ VSAs for the role, access domain, and user group of each administrator.When you predefine dynamic administrator roles for users, use lower-case to specify the role (for example, enter superuser, not SuperUser).Verify that the TACACS+ server performs authentication and authorization for administrators.
- Log in the firewall web interface using an administrator account that you added to the TACACS+ server.Verify that you can access only the web interface pages that are allowed for the role you associated with the administrator.In the Monitor, Policies, and Objects tabs, verify that you can access only the virtual systems that are allowed for the access domain you associated with the administrator.