hi there,
I need to add override url so won't be blocked.
what I understand, there are two way:
1. create custom web category
2. add url on web filter profile
am I correct?
there are hundreds url address that I need to add. what is the best practice to add locally, without add manually one by one?
thanks
Solved! Go to Solution.
The easiest way would be to actually host your list of URLs in a text file on external web server and then use it as External Feed in Fabric Connectors - those URLs would be automatically imported into Remote Category on Fortigate, which you can then Allow/Except and they will not be blocked.
The "local" way is to script on your PC all those URLs into CLI commands to be copy&pasted into Fortigate CLI. The command for each URL would look like:
config webfilter ftgd-local-rating
edit "www.example.com"
set rating 140 <-- CUSTOM1 CATEGORY
next
end
This would add "www.examplecom" into Local category you can later Allow/Except from Web filtering. By scripting I mean even Notepad++ using replacement will do the work.
The 1st option, IMO, is more scalable and is used the most by our clients.
hm I guess that the easiest way would be to write some program that reads your url list and outputs the FOS cli code for creating the rating overrides and then import that as a cli script.
But if anyone kows some better way please go ahead and let us know :)
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
The easiest way would be to actually host your list of URLs in a text file on external web server and then use it as External Feed in Fabric Connectors - those URLs would be automatically imported into Remote Category on Fortigate, which you can then Allow/Except and they will not be blocked.
The "local" way is to script on your PC all those URLs into CLI commands to be copy&pasted into Fortigate CLI. The command for each URL would look like:
config webfilter ftgd-local-rating
edit "www.example.com"
set rating 140 <-- CUSTOM1 CATEGORY
next
end
This would add "www.examplecom" into Local category you can later Allow/Except from Web filtering. By scripting I mean even Notepad++ using replacement will do the work.
The 1st option, IMO, is more scalable and is used the most by our clients.
hi, thanks for advice.
where i can get the number ID of web rating? since I've created new one
On cli:
show webfilter ftgd-local-rating
hi Yurisk, thanks for info.
User | Count |
---|---|
2400 | |
1289 | |
778 | |
521 | |
454 |
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 2025 Fortinet, Inc. All Rights Reserved.