FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Not applicable
Article Id 193766
Article
DescriptionHow to block users from visiting a web site.
Components
  • Any FortiGate unit running FortiOS 2.8 or 3.0.
Steps or Commands

To block a web site

  1. Go to Web Filter> URL Filter.
  2. Select Create New.
  3. Type in a URL or IP address.
  4. For the Type, select Regex (Regular Expression).
  5. For the Action, select Block.
  6. Select Enable.
  7. Select OK.

Type a top-level URL or IP address to control access to all pages on a web site. For example, www.example.com or 192.168.144.155 controls access to all pages at this web site.

Enter a top-level URL followed by the path and filename to control access to a single page on a web site. For example, www.example.com/news.html or 192.168.144.155/news.html controls the news page on this web site.

To control access to all pages with a URL that ends with example.com, add example.com to the filter list. For example, adding example.com controls access to www.example.com, mail.example.com, www.finance.example.com, and so on.

Control access to all URLs that match patterns created using text and regular expressions (or wildcard characters). For example, example.* matches example.com, example.org, example.net and so on.