Our Latest News

Blog

How to Enable Bad Word Filters on a FortiGate for Schools

As a school IT manager, a school administrator or a teacher, you want to keep your students safe from the dark sides of the internet, that sometimes innocent curiosity can find them in. If your school has installed FortiGate’s for protection from external cyberthreats than you can also use it to protect your students from internal threats. One way to do this is to configure web filtering such as ‘bad word’ filters, category filters and URL filtering on your FortiGate to stop your students from being unable to look up content unrelated to their studies on the school network. Here we have a step-by-step guide on how to enable bad word filters and category filters on your FortiGate.

Step by Step Guide

Before you begin this guide ensure your FortiGate is fully updated and licensed.

Step 1: Access the FortiGate GUI

  1. Open a web browser and enter the IP address of your FortiGate device.

  2. Log in with your administrator credentials.

Step 2: Configure Web Filtering

  1. Navigate to Security Profiles:

    • Go to Security Profiles > Web Filter.

  1. Create a New Web Filter Profile:

    • Click on Create New or you can edit an existing profile by clicking on it and then clicking edit.

    • Give the profile a name (e.g., Web_Filter_with_Bad_Word_Blocking).

    • It is best practice to enable the proxy-based feature set at the top of the page.

Step 3: Enable Category Filtering:

  1. Enable the FortiGuard Category based filter by using the toggle.

  2. Scroll down to the Categories section.

    • If your device is updated the categories will be available for selection.

    • Enable the categories you want to filter (e.g., Adult/Mature Content, Hate Speech, etc.).

    • Set the action to Block for the selected categories.

    • You can Allow, Monitor, Block, Set Warnings, or Authenticate for particular categories.

Step 4: Enable URL Filtering:

  1. Scroll down to the URL Filter section.

    • Enable URL Filter.

    • It is best practice for safety to Block all URL’s and Allow safe URLs as they needed.

    • Below is a brief guide as to what URL’s you should consider enabling as a baseline.

Step 5: Enable Content Filtering:

  1. Ensure you toggle on the Block Malicious URLs discovered by FortiGate.

  2. Scroll down to the Content Filter section.

    • Enable Content Filter.

    • To create a new content filter click Create New, and then set to Wildcard. This will make sure that any searches containing the word or phrase will be blocked.

    • Then enter your word in the Pattern section and select Block and Enable to ensure that the Block is in action.

Step 6: Enable Web Content Filtering:

    • Check that the Web Content Filter is enabled in the profile settings.

    • To Enable the web content filtering in practice you must enable the web filters on your rules for your traffic.

    • In the Policy & Objects settings click Firewall Policy and identify which policy you should be applying the web filtering to. For example, you might apply this web filter to your student Wi-Fi [policy] and a different web filter to your staff Wi-Fi [policy].

    • You can also add predefined patterns to block specific types of content or define your own.

Step 6: Apply the Web Filter Profile to a Policy

    • Ensure the Web Content Filter is enabled in the profile settings.

    • To Enable the Web Content Filtering in practice you must Enable the Web Filters on your rules for your traffic.

  1. Navigate to Firewall Policy:
    • Go to Policy & Objects > IPv4 Policy.

  1. Edit an Existing Policy or Create a New One:

    • Select an existing policy that you want to apply the web filter to or create a new policy.

    • For example, you might apply this web filter to your student Wi-Fi [policy] and a different web filter to your staff Wi-Fi [policy].

    • You can also add predefined patterns to block specific types of content or define your own.

    • If creating a new policy, configure the source, destination, schedule, service, etc.

  2. Apply the Web Filter Profile:

    • In the Security Profiles section, enable Web Filter.

    • From the drop-down menu, select the Web Filter profile you created earlier (Web_Filter_with_Bad_Word_Blocking).

    • Ensure other security profiles are enabled as required (e.g., Antivirus, Application Control).

  3. Save the Policy:

    • Click OK to save the policy.

Step 7: Test the Configuration

  1. Make sure to test the configuration by accessing a website that should be blocked based on your categories or bad words list.

  2. Monitor the logs to ensure that the web filter and bad word blocking are functioning as expected.

Our Emantra experts are always here to help with useful and easy to digest information. If you want to learn more about our services and expertise start here!

Share:

Enquire about Emantra's managed IT Services