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.
js2
Staff
Staff
Article Id 194263
Description
This article describes how to block all categories and allow only a list of whitelisted URLs.

Solution
# config webfilter urlfilter
    edit 1                                      <----- Table number to refer on the profile.
        set name "test"
       
# config entries                                <----- Copy paste the URLs if already created. If not, include the new URLs.
    edit 1
        set url "google.co.in"
        set action allow
    next
edit 2
    set url "gmail.com"
    set action allow
next
end

# config webfilter profile
    edit "new"                                  <----- Profile name to refer.
    # config web
        set urlfilter-table 1
    end


Contributors