Configure this rule to map the requests from the RADIUS client to a specific RADIUS event based on the input attribute and condition (regular expression).
To configure the Event selection rule, perform the following steps:
Navigate to Policies > RADIUS Options.
Click Add in the Event selection section.
Specify the following details based on your requirement:
Input-Attribute
Regular expression
Result specification
Comment
Click OK.
Example 1: An administrator configures an event RADIUS Server2 with OpenVPN as RADIUS client, and the value of NAS ID is 12345.
To map all requests containing 12345 as NAS ID to RADIUS Server2, define the following event selection rule:
Input-Attribute: NAS-Identifier
Regular expression: ^12345$
Result specification: RADIUS Server2
After you configure, the rule looks as follows:
NAS-Identifier / ^12345$ / RADIUS Server2
Example 2: There are two RADIUS events and two RADIUS clients as follows:
RADIUS Events |
RADIUS Clients |
---|---|
RADIUS Server |
172.16.0.1 |
RADIUS Server2 |
192.168.0.1 |
To map all requests from 172.16.0.1 to RADIUS Server event and 192.168.0.1 to RADIUS Server2 respectively, define the following event selection rules:
Rule 1 |
Rule 2 |
---|---|
Input-Attribute: Packet-Src-IP-Address |
Input-Attribute: Packet-Src-IP-Address |
Regular expression: 172.16.0.1 |
Regular expression: 192.168.0.1 |
Result specification: RADIUS Server |
Result specification: RADIUS Server2 |
After you configure, rules are displayed as follows:
Packet-Src-IP-Address / 172.16.0.1 / RADIUS Server
Packet-Src-IP-Address / 192.168.0.1 / RADIUS Server2