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
      • Network Segmentation
      • 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
      • Network Segmentation
      • 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

Allow YouTube while blocking Multimedia content of other sites.

10/14/2021 51 People found this article helpful 125,188 Views

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

    Description

    This article describes how to allow YouTube streaming content while blocking multimedia content of other sites. The method described here uses App Rules policies with App Control Advanced signatures.

    Resolution


    Resolution for SonicOS 6.5

    This release includes significant user interface changes and many new features that are different from the SonicOS 6.2 and earlier firmware. The below resolution is for customers using SonicOS 6.5 firmware.


    Note: The solution described here is for HTTP traffic. This article does not claim to block HTTPS traffic. For this solution to work over HTTPS requires Client DPI-SSL.

    Procedure:

    1. Login to the SonicWall management GUI.
    2. Navigate to the Manage |  Objects | Match Objects page.
    3. Click on Add New Match Object to open the Add/Edit Match Object window.
    4. Enter a name for this Match Object. For example, YouTube Signatures
    5. Under Match Object Type, select Application List.
    6. Under Application Category, select MULTIMEDIA
    7. Under Application, select MULTIMEDIA YouTube
    8. Click on the Add button on the right to add this application to the List box.
    9. Click on OK to save.

    Image


    Now we create another match object, this time for multimedia content.
     

    1. Click on Add New Match Object to open the Add/Edit Match Object window.
    2. Enter a name for this Match Object. For example, Multimedia Signatures
    3. Under Match Object Type, select Application Category List.
    4. Under Application Categories, select MULTIMEDIA
    5. Click on the Add button on the right to add this application to the List box.
    6. Click on OK to save
    Image


    We have created two match objects and are now ready to create two App Rule policies referencing each of the above match objects. In order for this to work, the policies must be created in the exact order described here. This is due to the way App Rule policies are prioritized which is, the first policy created has a higher priority than (and therefore above) the subsequent policies. For our particular purpose, we first create the policy to allow YouTube and then the policy to block multimedia content of other sites.
     

    1. Navigate to the Manage | Rules | Application Control page.
    2. Click on Add New Policy to open the Edit App Control Policy window.
    3. Enter a name for this policy. For example, Allow YouTube.
    4. Under Policy Type, select App Control Content.
    5. Set Address to Any. (Note: This field is for including IP addresses, inside or outside)
    6. Set Exclusion Address to None.
    7. Under Match Object select the match object created earlier - YouTube Signatures
    8. Under Action Object select Bypass DPI.
    9. Under Users/Groups > Included, select a user group to be included under this policy.
    10. Under Users/Groups > Excluded, select a user group to be excluded from this policy.
    11. The remaining setting could be left as it is.
    12. Click on OK to save.
    Image

    We create now a policy to block multimedia content.

    1. Click on Add New Policy to open the Edit App Control Policy window.
    2. Enter a name for this policy. For example, Block Multimedia.
    3. Under Policy Type, select App Control Content.
    4. Set Address to Any. (Note: This field is for including IP addresses, inside or outside)
    5. Set Exclusion Address to None.
    6. Under Match Object select the match object created earlier - Multimedia Signatures
    7. Under Action Object select Reset/Drop.
    8. Under Users/Groups > Included, select a user group to be included under this policy.
    9. Under Users/Groups > Excluded, select a user group to be excluded from this policy.
    10. The remaining setting could be left as it is.
    11. Click on OK to save.
    Image



    Testing

    From a host behind the SonicWall, access YouTube and play a video. If you have configured the policies as recommended above, the video will play. Here is a screenshot of the log message generated when one of the App Rule policy is triggered.  To know whether the Allow YouTube policy is being triggered, hover the mouse over the details icon of the log message.

    Image
    Once you have ascertained that the correct policy is being applied for YouTube traffic, access another streaming website and play multimedia content. If all is well, the second policy will be applied and the content will be blocked. Shown here is a screenshot of the log message generated when Vimeo.com was accessed. By hovering the mouse over the details icon of the log message we know the policy applied was "af_policy=Block Multimedia".

    Image

    Resolution for SonicOS 6.2 and Below

    The below resolution is for customers using SonicOS 6.2 and earlier firmware. For firewalls that are generation 6 and newer we suggest to upgrade to the latest general release of SonicOS 6.5 firmware.




    Note: The solution described here is for HTTP traffic. This article does not claim to block HTTPS traffic. For this solution to work over HTTPS requires Client DPI-SSL.

    Procedure:

    1. Login to the SonicWall management GUI.
    2. Navigate to the Firewall > Match Objects page.
    3. Click on Add New Match Object to open the Add/Edit Match Object window.
    4. Enter a name for this Match Object. For example, YouTube Signatures
    5. Under Match Object Type, select Application List.
    6. Under Application Category, select MULTIMEDIA
    7. Under Application, select MULTIMEDIA YouTube
    8. Click on the Add button on the right to add this application to the List box.
    9. Click on OK to save.

    Image


    Now we create another match object, this time for multimedia content.
     

    1. Click on Add New Match Object to open the Add/Edit Match Object window.
    2. Enter a name for this Match Object. For example, Multimedia Signatures
    3. Under Match Object Type, select Application Category List.
    4. Under Application Categories, select MULTIMEDIA
    5. Click on the Add button on the right to add this application to the List box.
    6. Click on OK to save
    Image


    We have created two match objects and are now ready to create two App Rule policies referencing each of the above match objects. In order for this to work, the policies must be created in the exact order described here. This is due to the way App Rule policies are prioritized which is, the first policy created has a higher priority than (and therefore above) the subsequent policies. For our particular purpose, we first create the policy to allow YouTube and then the policy to block multimedia content of other sites.
     

    1. Navigate to the Firewall > App Rules page.
    2. Enable check box Enable App Rules
    3. Click on Add New Policy to open the Edit App Control Policy window.
    4. Enter a name for this policy. For example, Allow YouTube.
    5. Under Policy Type, select App Control Content.
    6. Set Address to Any. (Note: This field is for including IP addresses, inside or outside)
    7. Set Exclusion Address to None.
    8. Under Match Object select the match object created earlier - YouTube Signatures
    9. Under Action Object select Bypass DPI.
    10. Under Users/Groups > Included, select a user group to be included under this policy.
    11. Under Users/Groups > Excluded, select a user group to be excluded from this policy.
    12. The remaining setting could be left as it is.
    13. Click on OK to save.
    Image

    We create now a policy to block multimedia content.

    1. Click on Add New Policy to open the Edit App Control Policy window.
    2. Enter a name for this policy. For example, Block Multimedia.
    3. Under Policy Type, select App Control Content.
    4. Set Address to Any. (Note: This field is for including IP addresses, inside or outside)
    5. Set Exclusion Address to None.
    6. Under Match Object select the match object created earlier - Multimedia Signatures
    7. Under Action Object select Reset/Drop.
    8. Under Users/Groups > Included, select a user group to be included under this policy.
    9. Under Users/Groups > Excluded, select a user group to be excluded from this policy.
    10. The remaining setting could be left as it is.
    11. Click on OK to save.
    Image

    Testing

    From a host behind the SonicWall, access YouTube and play a video. If you have configured the policies as recommended above, the video will play. Here is a screenshot of the log message generated when one of the App Rule policy is triggered.  To know whether the Allow YouTube policy is being triggered, hover the mouse over the details icon of the log message.

    Image

    Once you have ascertained that the correct policy is being applied for YouTube traffic, access another streaming website and play multimedia content. If all is well, the second policy will be applied and the content will be blocked. Shown here is a screenshot of the log message generated when Vimeo.com was accessed. By hovering the mouse over the details icon of the log message we know the policy applied was "af_policy=Block Multimedia".

    Image


    Related Articles

    • Configuring and troubleshooting SonicWALL Switches
    • How can I get alerted if a WAN link goes down in a WAN fail-over scenario?
    • Configuring and troubleshooting High Availability

    Categories

    • Firewalls > SonicWall NSA Series
    • Firewalls > TZ Series
    • Firewalls > SonicWall SuperMassive 9000 Series
    • Firewalls > SonicWall SuperMassive E10000 Series

    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:dd05288e52973a5809ba22c373a5ba22-70