Configuring Microsoft NPS For MAC-Based RADIUS - MS Switches
Configuring Microsoft NPS For MAC-Based RADIUS - MS Switches
Network Administrators can use port based access control to prevent unauthorized access to the corporate LAN. MAC-Based RADIUS is one method for
providing this type of security. This article discusses the benefits of MAC-Based RADIUS and how to configure it in Microsoft NPS and Dashboard.
1) Open the NPS Server Console by going to Start > Programs > Administrative Tools > Network Policy Server.
2) In the Left pane, expand the RADIUS Clients and Servers option.
1
6) Create and enter a RADIUS Shared Secret (note this secret - we will need to add this to the Dashboard).
8) Repeat these steps b - g for all switches. See Figure 1 for a sample RADIUS client configuration.
Figure 1.
2) Create a new user account. the username and password should be the MAC address of the connecting device (letters need to be lower case and it should not
have any delimiting characters). See Figure 2 for example user account.
Figure 2.
2
Configuring a NPS Connection Request Policy.
1) In the NPS Server Console, navigate to NPS (Local) > Policies > Connection Request Policies.
4) On the Specify Conditions page add the following condition: NAS port type as Ethernet (Figure 3) followed by clicking Next.
8) Review settings and click Finish on the Completing Connection Request Policy Wizard screen.
Figure. 3
3
Configuring a NPS Network Policy.
1) In the NPS Server Console, navigate to NPS (Local) > Policies > Network Policies.
Figure 4.
4
4) On the Specify Conditions page add the following two conditions Windows Groups, this can be the group containing especially for the user accounts created
in Part 3. See KB Creating a Windows Group For MAC Based Authentication. For our example we will use DOMAINNAME\Domain Users. Then specify NAS
port type Ethernet followed by clicking Next. (Figure 5)
Figure 5.
5
5) Click Next on the Specify Access Permission screen.
6) On the Configure Authentication Methods page, uncheck all options except Unencrypted authentication (PAP, SPAP). (Figure 6)
Figure 6.
6
7) Click Next on the Configure Constraints screen.
9) Review settings and click Finish on the Completing New Network Policy screen. (Figure 7)
Figure 7.
7
Creating a MAC-Based RADIUS Access Policy in Dashboard.
1) On the Dashboard navigate to Configure > Access Policies.
2) Click on the link Add Access Policy in the main window then click the link to Add a server.
3) Enter the IP address of the RADIUS server, the port (default is 1812 or 1645), and the secret you created above in part 2. (Figure 8)
Figure 8.
8
Apply Access policy to MS Switchports
1) On the Dashboard navigate to Configure > Switchports.
3) Click the Edit button, make sure the port type is Access, and from the Access policy drop-down select the policy that was created in part 5.
(Figure 9)
Figure 9.
9
10