Skip to content

Limit web category bandwidth

You learn how to create a traffic shaping policy that limits traffic for specific websites to a certain bandwidth and how to apply that policy.

Introduction

In this example, you apply bandwidth limits to a website: example.com.

To apply bandwidth limits to the website, do as follows:

  • Create a traffic shaping policy.
  • Add a custom web category.
  • Edit the firewall rule that applies to the traffic you're applying bandwidth limits to.

Create a traffic shaping policy

To create a traffic shaping policy, do as follows:

  1. Go to System services > Traffic shaping.

    How to access traffic shaping settings

  2. Click Add.

  3. Specify the following example settings:

    Option Description
    Name Limit bandwidth for example.com
    Policy association Web categories

    The decision for bandwidth distribution is based on the web category of the domain being visited.
    Rule type Limit

    The website's traffic can't exceed the defined bandwidth limit.
    Limit upload/download separately Disable
    Priority 1

    This policy is important and should take precedence over other traffic shaping policies.
    Limit 10000
    Bandwidth usage type Shared

    All traffic for the website won't exceed the limit of 10 MB in total.

    Here's an example:

    Traffic shaping settings for web categories

  4. Click Save.

Create a custom web category for the website

To create a custom web category, do as follows:

  1. Go to Web > Categories.
  2. Click Add.
  3. Specify the following example settings:

    Option Description
    Name Limit example.com
    Classification Productive
    Traffic shaping policy Limit bandwidth for example.com
    Configure category Local
    Domain/keyword Domain: www.example.com
    Keyword: example

    Here's an example:

    Example settings for custom web category

  4. Click Save.

Edit an existing firewall rule

To edit an existing firewall rule, do as follows:

  1. Go to Rules and policies > Firewall rules.
  2. Click the firewall rule that currently matches the traffic you want to shape.
  3. Go to the Security features section, and click Web filtering.
  4. Click Apply web category-based traffic shaping.

    Here's an example:

    Example settings for security features

  5. Click Save.

More resources

Back to top