Skip to main content

12 replies

adambomb1219
SuperUser
SuperUser
Oct 30, 2024 11:14 AM UTC

How do you know this is being blocked by the firewall?  What do the logs say?  Which inspection feature is blocking this?  Web Filter?  DNS?  Something else?

drivesafely
New Member
Oct 30, 2024 11:19 AM UTC

Hello @adambomb1219 

Thank you for your response.

The firewall is not currently blocking this URL. We have certain devices restricted from accessing the internet through the firewall, but we’d like to make an exception to allow access to this specific URL for an application on these devices.

bkrishnan
Staff
Staff
Oct 30, 2024 11:24 AM UTC

Hi
Create a simple URL filter to block the full URL in the web filter profile.
The below doc might help you;

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Using-a-static-URL-filter-feature-to-allow-block/ta-p/193086

Staff
Oct 30, 2024 11:32 AM UTC

Hello,

Since you want to allow the full URL I assume the path of the URL needs to be checked as well. 

With a simple policy and only cert inspection the web filter will only check the certificate information present. 
You would need a policy preferably in proxy mode and with SSL deep inspection enabled.

In the web filter profile you create a static URL filter with the action set to "EXEMPT". This is really important as sometimes with action set to "allow" if you are blocking the category in the webfilter then it will still be blocked.

 

Hope this helps.

drivesafely
New Member
Oct 30, 2024 11:39 AM UTC

Hello @bkrishnan, @ezhupa,

 

Thank you for sharing the useful link!

I was having the doubt whether deep inspection would be necessary, as @ezhupa have mentioned.

To make is easier, creating a simple URL filter to allow, "code.ionicframework.com/*" should work?

Please guide. Thanks,

Staff
Oct 30, 2024 11:43 AM UTC

Hello,

 

Yes that should work, but remember it is better to set the action to "Exempt". I am adding below an article that explains the difference.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-The-difference-between-allow-and-exempt-in-the-web/ta-p/261349
You can either configure it as a simple URL or a WILDCARD/Regex URL.

You can test either way and see whichever works best in your scenario.

 

EDIT:
code.ionicframework.com/*  -> if you are using a * after the slash that would allow every possible path after the link and not only limited to

 code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css .  
And if using * better would be to use Wildcard type URL.

drivesafely
New Member
Oct 30, 2024 11:53 AM UTC

@ezhupa 

Thanks for confirming.

I will configure a wildcard URL for "code.ionicframework.com/*" with action set to Exempt.

Then add another filter below it with * and action set to block.

Can you guide, whether another filter with * and action set to block is necessary ?

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024