Enable the RADIUS Change of Authorization feature
In this topic, you will learn how to set up your environment to let Portnox™ Cloud send RADIUS Change of Authorization (CoA) packets to your NAS devices when you change access policies.
The RADIUS Change of Authorization feature lets you change authorization dynamically after the device/user is authenticated. If you modify the VLAN/ACL assignments in an access control policy, the RADIUS server can send CoA packets to all devices that use this policy, which cause these devices to authenticate with the RADIUS server again and apply the new policy. To learn more, read our technical blog post about the RADIUS Change of Authorization feature.
Portnox Cloud can send RADIUS CoA packets only from a locally installed Portnox local RADIUS Docker container, or from the Portnox LDAP Broker. This is necessary because CoA packets cannot be sent from an external network (the cloud), so you need a local application on a local server to send CoA packets.
To turn on this feature, go to , click on the Edit link, activate the Enable CoA checkbox, and then click on the Save button.
- Send CoA packets from a local RADIUS Docker container (recommended).
- Send CoA packets from a local LDAP Broker installation (obsolete: supported, but not recommended for new installations).
How does the CoA process work?
In this section, you will learn what happens during the CoA process.
To explain how the CoA process works, we will examine a case where the account is blocked manually in Portnox Cloud.
- An administrator blocks the device in Portnox Cloud.
-
Portnox Cloud checks the last validation status of the device:
- If the device does not have an Acct-Session-Id, Portnox Cloud takes no further action.
- If the device has an Acct-Session-Id, Portnox Cloud creates a PoD request and sends it to the Portnox local RADIUS server that validated the last authentication.
- Portnox Cloud updates the device information in the database so that all subsequent authentications fail.
- The local RADIUS server receives the PoD request.
- The local RADIUS server sends the PoD request with the Acct-Session-Id to the NAS.
- The NAS receives the PoD request and disconnects all sessions with the matching Acct-Session-Id.
- The NAS terminates the session without disabling the host port, causing the authenticator state machine to reinitialize.
- The NAS acknowledges the PoD by sending a Disconnect-ACK to the local RADIUS server. The local RADIUS server drops the response.
- The NAS sends an Accounting STOP to the local RADIUS server.
- The local RADIUS server forwards the accounting packet to Portnox Cloud, and it appears in the AAA logs.
Prepare the NAS device to receive CoA packets
In this section, you will learn how to configure a Cisco device to receive CoA packets from either a local RADIUS Docker container or a local LDAP Broker installation.
This example is for Cisco devices, which do not have CoA enabled by default, so this configuration is required for CoA to work. Other manufacturers’ devices may have CoA enabled by default. To configure CoA on other devices, please consult the manufacturer documentation.
Send CoA packets from a local RADIUS Docker container
In this section, you will learn how to set up your environment to let Portnox™ Cloud send RADIUS CoA packets to your NAS devices from your local RADIUS Docker container.
With this configuration, Portnox Cloud performs the following steps when you change the access policy settings:
- Portnox Cloud determines the devices that the policy settings apply to.
- The next time that the local RADIUS server synchronizes with the Cloud RADIUS server (synchronization is performed every minute), it receives instructions to send CoA packets to specific NAS devices.
- The local RADIUS server sends the RADIUS CoA packets to NAS devices in the local network.
- The NAS devices react to the CoA packets by contacting Portnox Cloud RADIUS servers to re-authenticate (in order of priority configured in the NAS).
- After authentication, the NAS devices receive information from the RADIUS servers about VLANs/ACLs they should use.
Send CoA packets from a local LDAP Broker installation
In this section, you will learn how to set up your environment to let Portnox™ Cloud send RADIUS CoA packets to your NAS devices from your local LDAP Broker installation.
With this configuration, Portnox Cloud performs the following steps when you change the access policy settings:
- Portnox Cloud determines the devices that the policy settings apply to.
- The next time that the LDAP Broker polls the cloud (default: every 30 seconds), it receives instructions to send CoA packets to specific NAS devices.
- The LDAP Broker sends the RADIUS CoA packets to NAS devices in the local network.
- The NAS devices react to the CoA packets by contacting Portnox Cloud RADIUS servers to re-authenticate (in order of priority configured in the NAS).
- After authentication, the NAS devices receive information from the RADIUS servers about VLANs/ACLs they should use.
