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.
Deepak_Girimaji_FTNT
Article Id 197958

Description

When a Web-filter profile is cloned, the URL filter table of the parent profile will be reflected in the cloned profile. The URL table in the cloned profile can be modified by using the Command Line Interface (CLI).


Solution

Parent profile

deepakg_FD36503_tn_FD36503-1.jpg

Cloned profile

deepakg_FD36503_tn_FD36503-2.jpg

Configuration

config webfilter profile
  edit "Parent"
      config web
          set urlfilter-table 1
      end

  edit "Clone of Parent"
      config web
          set urlfilter-table 1
      end


Solution

1) Configure new URL table through CLI by adding one URL entry:

config webfilter urlfilter
  edit 2
    new entry '2' added
    set name table 2
    config entries
      edit fortinet.com
        new entry 'fortinet.com' added
        set type simple
        set action exempt
        set status enable
     end


2) Selecting the new URL filter table in web-filter profile:

config webfilter profile
  edit default
  config web
    set urlfilter-table
    please input integer value
    1 urlfilter
    2 urlfilter <------  
    3 urlfilter
    set urlfilter-table 2
  end
end