Technical Tip: How to load an existing web filter profile from CLI
Description
This article describes how to load an existing web filter profile from another FortiGate from CLI.
Solution
From CLI, credit a new web filter profile.
This article describes how to load an existing web filter profile from another FortiGate from CLI.
Solution
From CLI, credit a new web filter profile.
# config webfilter profileGo to FortiGuard category based filter.
(profile)edit <name of new profile> <----- e.g. new_profile.
((new_profile)# config ftgd-wfPurge the predefine profile filters.
(ftgd-wf)# config filter
(filters)# purgeShow the configuration.
This operation will clear all table!
Do you want to continue? (y/n)y
(filters) # showPaste an existing web filter profile filters configuration in (e.g. block all unrated URL).
(filters) #
(filters) #Now the filter will be as existing expected profile filter.
edit 1
set action block
next
(filters) # show
# config filters
edit 1
set action block
next
end