Authenticating an admin user with RADIUS
If you want to use a RADIUS server to authenticate administrators, you must configure the authentication before you create the administrator accounts. Do the following:
- Configure the FortiSwitch unit to access the RADIUS server.
- Configure an administrator to authenticate with a RADIUS server and match the user secret to the RADIUS server entry.
- Create the RADIUS user group.
Using the GUI:
- Create a RADIUS system admin group:
- Go to System > Admin > Administrators.
- Click Add Administrator.
- In the Name field, enter
RADIUS_Admins
. - Select Remote.
- For the user group, select Radius_group.
- Select Wildcard.
- For the admin profile, select super_admin.
- Click Add.
- Create a user:
- Go to System > User > Definition.
- Click Add User.
- In the Username field, enter
RADIUS1
. - Select Password from the Type field.
- In the Password field and Confirm Password field, enter
6rF7O4/Zf3p2TutNyeSjPbQc73QrS21wNDmNXd/rg9k6nTR6yMhBRsJGpArhle6UOCb7b8InM3nrCeuVETr/a02LpILmIltBq5sUMCNqbR6zp2fS3r35Eyd3IIrzmve4Vusi52c1MrCqVhzzy2EfxkBrx5FhcRQWxStvnVt4+dzLYbHZ
. - Click Add.
- Create a user group:
- Go to System > User > Group.
- Click Add Group.
- In the Name field, enter RADIUS_Admins.
- Select RADIUS1 in the Available Users box and select the right arrow to move it to the Members box.
- Click Add.
Using the CLI:
- Create a RADIUS system admin group:
config system admin
edit "RADIUS_Admins"
set remote-auth enable
set accprofile "super_admin"
set wildcard enable
set remote-group "RADIUS_Admins"
next
end
- Create a user:
config user radius
edit "RADIUS1"
set secret ENC 6rF7O4/Zf3p2TutNyeSjPbQc73QrS21wNDmNXd/rg9k6nTR6yMhBRsJGpArhle6UOCb7b8InM3nrCeuVETr/a02LpILmIltBq5sUMCNqbR6zp2fS3r35Eyd3IIrzmve4Vusi52c1MrCqVhzzy2EfxkBrx5FhcRQWxStvnVt4+dzLYbHZ
set addr-mode ipv4
next
end
- Create a user group:
config user group
edit "RADIUS_Admins"
set member "RADIUS1"
next
end