How to Configure Web Filtering to Block Sites

How to Configure Web Filtering to Block Sites

How to Configure Web Filtering to Block Sites
How to Configure Web Filtering to Block Sites
2023-08-29 06:52:02 - last edited 2024-11-15 02:44:01

Background:

 

This post provides a configuration guide on web filtering with blocking YouTube as an example.

 

This Article Applies to:

 

All Omada routers with Web Filtering support

 

Configuration Steps:

 

1. Select your Organization and choose your Site.

2. Go to Settings > Network Security > URL Filtering. Choose Gateway Rules and click Create New Rule.

3. Input parameters for this rule. We take YouTube as an example here.

 

You can copy the following path:

*.youtube.*

youtube.com

m.youtube.com
*.youtube.com
ytimg.com
*.s.ytimg.com
ytimg.I.google.com
*.youtube.l.google.com
*.i.google.com
*.googlevideo.com
*.youtu.be
yt.be

 

Note: If your controller does not allow more than 10 URL paths, please create an additional rule)

 

 

4. Click Create and it should take effect immediately.

 

Verification:

 

1. Close your browser and launch Incognito mode(Chrome) or Private mode(Firefox).

2. Access the www.youtube.com and press F12 to launch the dev tools to monitor the Network. Pay attention to the Name and Status.

 

 

Note:

 

1. This guide is based on the FAQ3229 How to configure URL blacklist or whitelist using Omada Controller's URL Filtering feature

2. "." means that this rule will be applied to any website. For example, if you want to allow website A and deny other websites, you can add an Allow rule for website A and add a Deny rule for ".".

Note that the "." rule should have the smallest ID number(place it in the first place), which means the highest priority. Then place the desired Allow rule after it.

The "*" stands for the wildcard. "*.exmaple.com" means all subdomains of the TLD(top-level domain), "example.com", will be blocked.

*.example.* is used to block all the related domains of the example site.

3. In the Verification section, you may face an issue that URL Filtering is not effective right after the configuration. This situation only occurs when your browser has already launched the www.youtube.com a few minutes ago or so. To fix this, you may need to wait for a while before all the sessions established with the YouTube servers are closed.

4. There are several sites that use more than one domain to work. Like the example we illustrated in this guide, simply blocking its TLD in the Web Filtering, its top-level domain, is not going to be effective. In this case, we strongly recommend you search for all related domains on the Internet and add them to the URL path. 

 

Update Log:

 

Nov 15th, 2024:

Update the *.youtube.* in the list to complete the list. 

Add details about the note 2.

 

Jul 9th, 2024:

Update the Note for better understanding.

 

Jan 16th, 2024:

Update the format.

 

Recommended Threads:

 

Get the Latest Firmware Releases for Omada Routers Here - Subscribe for Updates

Get the Latest Omada SDN Controller Releases Here - Subscribe for Updates

 

Feedback:

 

  • If this was helpful, welcome to give us Kudos by clicking the upward triangle below.
  • If there is anything unclear in this solution post, please feel free to comment below.

 

Thank you in advance for your valuable feedback!

 

------------------------------------------------------------------------------------------------

Have other off-topic issues to report? 

Welcome to > Start a New Thread < and elaborate on the issue for assistance.

 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0      
  0      
#1
Options