# config webfilter profileAdd the static URL entry using following commands.
edit "default"
# config web
set urlfilter-table 4
end
end
# config webfilter urlfilterSame Applies for DNS filer but table name is 'domain-filter-table'.
edit 4
set name "Auto-webfilter-urlfilter_s70j6jcw9"
# config entries
edit 1 <----- Can repeat this entry for other domain, Use 0 (zero) automatic number.
set url "static.com" <----- Domain name.
set action allow <----- Action can be exempt, block, allow (no log), monitor(with log).
next
end
next
end
# config dnsfilter profile
edit "default"
set comment "Default dns filtering."
# config domain-filter
set domain-filter-table 1
end
end
# config dnsfilter domain-filter
edit 1
set name "default"
set comment "Default dns filtering."
# config entries
edit 1
set domain "test.com"
set action allow
next
end
next
end
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.