Technical Tip: How to Import the URLs through CLI for web-filtering
Description
This article describes how to block all categories and allow only a list of whitelisted URLs.
Solution
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
