Main Menu
  • COMPANY
    • Boundless Cybersecurity
    • Press Releases
    • News
    • Awards
    • Leadership
    • Press Kit
    • Careers
  • PROMOTIONS
    • Customer Loyalty Program
  • MANAGED SERVICES
    • Managed Security Services
    • Security as a Service
    • Professional Services
SonicWall
  • Products
    • Network Security
      • Next Generation FirewallNext-generation firewall for SMB, Enterprise, and Government
      • Security ServicesComprehensive security for your network security solution
      • Network Security ManagerModern Security Management for today’s security landscape
    • Advanced Threat Protection
      • Capture ATPMulti-engine advanced threat detection
      • Capture Security applianceAdvanced Threat Protection for modern threat landscape
    • Access Security
      • Cloud Edge Secure AccessDeploy Zero-Trust Security in minutes
      • Secure Mobile AccessRemote, best-in-class, secure access
      • Wireless Access PointsEasy to manage, fast and secure Wi-FI
      • SwitchesHigh-speed network switching for business connectivity
    • Email Security
      • Email SecurityProtect against today’s advanced email threats
    • Cloud Security
      • Cloud App SecurityVisibility and security for Cloud Apps
      • Cloud Firewall (NSv)Next-generation firewall capabilities in the cloud
    • Endpoint Security
      • Capture ClientStop advanced threats and rollback the damage caused by malware
      • Content Filtering ClientControl access to unwanted and unsecure web content
    • Product Widgets
      • Product Menu Right Image
      • Capture Cloud Platform
        Capture Cloud Platform

        A security ecosystem to harness the power of the cloud

    • Button Widgets
      • Products A-Z
        all products A–Z FREE TRIALS
  • Solutions
    • Industries
      • Distributed Enterprises
      • Retail & Hospitality
      • K-12 Education
      • Higher Education
      • State & Local
      • Federal
      • Healthcare
      • Financial Services
      • Carriers
    • Use Cases
      • Secure SD-Branch
      • Zero Trust Security
      • Secure SD-WAN
      • Office 365 Security
      • SaaS Security
      • Secure WiFi
    • Solutions Widgets
      • Solutions Content Widgets
        Federal

        Protect Federal Agencies and Networks with scalable, purpose-built cybersecurity solutions

      • Solutions Image Widgets
  • Partners
    • SonicWall Partners
      • Partners Overview
      • Find a Partner
      • Authorized Distributors
      • Technology Partners
    • Partner Resources
      • Become a Partner
      • SonicWall University
      • Training & Certification
    • Partner Widgets
      • Custom HTML : Partners Content WIdgets
        Partner Portal

        Access to deal registration, MDF, sales and marketing tools, training and more

      • Partners Image Widgets
  • Support
    • Support
      • Support Portal
      • Knowledge Base
      • Technical Documentation
      • Community
      • Video Tutorials
      • Product Life Cycle Tables
      • Partner Enabled Services
      • Contact Support
    • Resources
      • Resource Center
      • Free Trials
      • Blog
      • SonicWall University
      • MySonicWall
    • Capture Labs
      • Capture Labs
      • Security Center
      • Security News
      • PSIRT
      • Application Catalog
    • Support Widget
      • Custom HTML : Support Content WIdgets
        Support Portal

        Find answers to your questions by searching across our knowledge base, community, technical documentation and video tutorials

      • Support Image Widgets
  • COMPANY
    • Boundless Cybersecurity
    • Press Releases
    • News
    • Awards
    • Leadership
    • Press Kit
    • Careers
  • PROMOTIONS
    • Customer Loyalty Program
  • MANAGED SERVICES
    • Managed Security Services
    • Security as a Service
    • Professional Services
  • Contact Sales
  • English English English en
  • BLOG
  • CONTACT SALES
  • FREE TRIALS
  • English English English en
SonicWall
  • Products
    • Network Security
      • Next Generation FirewallNext-generation firewall for SMB, Enterprise, and Government
      • Security ServicesComprehensive security for your network security solution
      • Network Security ManagerModern Security Management for today’s security landscape
    • Advanced Threat Protection
      • Capture ATPMulti-engine advanced threat detection
      • Capture Security applianceAdvanced Threat Protection for modern threat landscape
    • Access Security
      • Cloud Edge Secure AccessDeploy Zero-Trust Security in minutes
      • Secure Mobile AccessRemote, best-in-class, secure access
      • Wireless Access PointsEasy to manage, fast and secure Wi-FI
      • SwitchesHigh-speed network switching for business connectivity
    • Email Security
      • Email SecurityProtect against today’s advanced email threats
    • Cloud Security
      • Cloud App SecurityVisibility and security for Cloud Apps
      • Cloud Firewall (NSv)Next-generation firewall capabilities in the cloud
    • Endpoint Security
      • Capture ClientStop advanced threats and rollback the damage caused by malware
      • Content Filtering ClientControl access to unwanted and unsecure web content
    • Product Widgets
      • Product Menu Right Image
      • Capture Cloud Platform
        Capture Cloud Platform

        A security ecosystem to harness the power of the cloud

    • Button Widgets
      • Products A-Z
        all products A–Z FREE TRIALS
  • Solutions
    • Industries
      • Distributed Enterprises
      • Retail & Hospitality
      • K-12 Education
      • Higher Education
      • State & Local
      • Federal
      • Healthcare
      • Financial Services
      • Carriers
    • Use Cases
      • Secure SD-Branch
      • Zero Trust Security
      • Secure SD-WAN
      • Office 365 Security
      • SaaS Security
      • Secure WiFi
    • Solutions Widgets
      • Solutions Content Widgets
        Federal

        Protect Federal Agencies and Networks with scalable, purpose-built cybersecurity solutions

      • Solutions Image Widgets
  • Partners
    • SonicWall Partners
      • Partners Overview
      • Find a Partner
      • Authorized Distributors
      • Technology Partners
    • Partner Resources
      • Become a Partner
      • SonicWall University
      • Training & Certification
    • Partner Widgets
      • Custom HTML : Partners Content WIdgets
        Partner Portal

        Access to deal registration, MDF, sales and marketing tools, training and more

      • Partners Image Widgets
  • Support
    • Support
      • Support Portal
      • Knowledge Base
      • Technical Documentation
      • Community
      • Video Tutorials
      • Product Life Cycle Tables
      • Partner Enabled Services
      • Contact Support
    • Resources
      • Resource Center
      • Free Trials
      • Blog
      • SonicWall University
      • MySonicWall
    • Capture Labs
      • Capture Labs
      • Security Center
      • Security News
      • PSIRT
      • Application Catalog
    • Support Widget
      • Custom HTML : Support Content WIdgets
        Support Portal

        Find answers to your questions by searching across our knowledge base, community, technical documentation and video tutorials

      • Support Image Widgets
  • COMPANY
    • Boundless Cybersecurity
    • Press Releases
    • News
    • Awards
    • Leadership
    • Press Kit
    • Careers
  • PROMOTIONS
    • Customer Loyalty Program
  • MANAGED SERVICES
    • Managed Security Services
    • Security as a Service
    • Professional Services
  • Contact Sales
  • Menu

Setting Up 802.1x Authentication on SonicWall Switch

06/15/2020 1 People found this article helpful 91,003 Views

    Download
    Print
    Share
    • LinkedIn
    • Twitter
    • Facebook
    • Email
    • Copy URL The link has been copied to clipboard

    Description

    The IEEE-802.1X authentication provides a security standard for network access control with RADIUS servers and holds a network port disconnected until authentication is completed. With 802.1X authentication, the supplicant provides credentials, such as user name, password, or digital certificate to the authenticator, and the authenticator forwards the credentials to the authentication server for verification. If the authentication server determines the credentials are valid, the supplicant (client device) is allowed to access resources located on the protected side of the network. The Switch uses 802.1X to enable or disable port access control, to enable or disable the Guest VLAN, and to enable or disable the forwarding EAPOL (Extensible Authentication Protocol over LANs) frames.

    Resolution

    Enable 802.1X Authentication:

    1. Navigate to MANAGE | Switch Controller | Switches and click on 802.1x tab.
    2. Set the State slider to the right to enable authentication.
      Other settings are:
      • Guest VLAN — Select whether Guest VLAN is enabled or disabled on the Switch. The Default is disabled.
      • Guest VLAN ID — Select the Guest VLAN from the list for currently defined VLANs.

      Image

    Enable RADIUS server

    1. Navigate to MANAGE | Switch Controller | Switches and click on Radius Server tab. When the server list appears click  Add Radius Server.
    2. Mention the RADIUS Server IP address, port number (authorized port: default is 1812), and shared secret (key string) with other details like timeout reply and retry.
    3. Click OK.

      Image

    EXAMPLE: Let us consider that the RADIUS server is connected to port 1 of the switch and has static IP: 192.168.181.100. The PC that needs be authenticated is connected to port 5 on the switch which is portshielded to interface X0. Once it is successfully authenticated it should get an IP on the X0 subnet.

    Topology:

    Image


    The following changes are required on the RADIUS server to achieve connectivity and perform authentication:

    1. Add a new RADIUS client under NPS. The IP address of the switch should be used along with the key string used while adding the RADIUS server on the switch.

      Image


      Image

    2. Make sure that the vendor name is 'RADIUS Standard' on the Advanced tab. Click OK.

      Image

    3. We need to create a NPS policy to grant access to the right account with valid credentials to have a successful connection. Add the following NPS policy for the same. Right click on Network Policies under NPS and select New.

      Image

    4. Give a name to this new policy and click  Next.

      Image

    5. We would like to provide access to the users belonging to Domain Users. So, under Conditions, click Add.

      Image

    6. Select 'User Groups' and click Add.

      Image

    7. Under 'Add Groups' select the User group to be matched. For this example, we are selecting 'Domain Users'. Click on OK.

      Image

    8. Select the Radio button for Access granted and click Next.

      Image

    9. Under EAP Types, select 'Microsoft: Protected EAP (PEAP)' and then click OK. 

      Image

    10. Select the EAP Type just added and click on Edit. Under Certificate issues to, select the local certificate. This should be a local certificate issued to the server and not a CA certificate. Click on OK. Finally click Finish.

      Image

    11. You can now see the latest new policy added and the condition and settings related to this policy.

      Image

    12. Move up this policy if you see other NPS policies already added on the list. To move the policy up, right click on the policy and select 'Move up'. This is essential as we would like to match this policy first and allow the connection.

      Image

    The following changes are required on the end machine connected to port 5 to be able to successfully authenticate using 802.1X authentication against the RADIUS server:

    1. We selected a local certificate in Step 10 of adding a NPS policy. The CA certificate that signed that local certificate should be present on the 'Trusted Root Certification Authorities' on the local computer. You can use a Group Policy to push this certificate to all machines that belong to the domain.

      Image

    2. Press Ctrl+R and type 'ncpa.cpl' to show up all the network adapters on the end machine. Right click the Ethernet adapter and select Properties.

      Image

    3. Select the 'Authentication' tab and enable the option 'Enable IEEE 802.1X authentication'. Use the method as PEAP as used in the NPS policy and click on the 'Settings' button. A new pop-up window will show up, enable the option 'Verify the server's identity by validating the certificate' and select the CA certificate imported on Step 1 and click  OK.

      Image

    4. Click on 'Additional Settings' button and under 802.1X settings, enable 'Specify authentication mode' and use 'User or computer authentication'. Click OK.

      Image

    We also need to enable authentication using 802.1X on the required port on the switch. In this example, it is port 5 on the switch.

    1. Navigate to MANAGE | Switch Controller | Overview tab and click on port 5 from either physical, link or VLAN view.
    2. Under the '802.1X settings', select the mode as Auto. Keep the other options on default.
    3. Click OK.

      Image

    Now when the user logs in with a Domain User credentials on the end machine connected to port 5, it is authenticated against the RADIUS server and receives an IP from X0 subnet.

    The following log message show up during successful authentication:

    Image


    Related Articles

    • Daisy chain mode using SonicWall Switches
    • How to upgrade SonicWall Switch Firmware from Switch UI?
    • Issue: Unable to access management of switch due incorrect VLAN membership on the switch ports in Switch Policy

    Categories

    • Switches > Port Authentication

    Not Finding Your Answers?

    ASK THE COMMUNITY

    Was This Article Helpful?

    YESNO

    Article Helpful Form

    Article Not Helpful Form

    Company
    • Careers
    • News
    • Leadership
    • Awards
    • Press Kit
    • Contact Us
    Popular resources
    • Communities
    • Blog
    • SonicWall Capture Labs

    Stay In Touch

    • By submitting this form, you agree to our Terms of Use and acknowledge our Privacy Statement. You can unsubscribe at any time from the Preference Center.
    • This field is for validation purposes and should be left unchanged.
    • Facebook
    • Twitter
    • Linkedin
    • Youtube
    • Instagram

    © 2022 SonicWall. All Rights Reserved.

    • Legal
    • Privacy
    • English
      Scroll to top
      Trace:bc25ceab620983726ed9b9f9e3bc8474-80