Skip to main content
Cherimos
New Member
June 22, 2021
Question

Allow unrated port

  • June 22, 2021
  • 1 reply
  • 1933 views

Hi Community I'm hoping someone can point me in the right direction on how to whitelist a Port.

I have tried several instructions to whitelist a url that ends with a port and so far no success. The web filter works fine when I whitelist the sub-domain: sub.hostname.com but not sub.hostname.com:8443. It seems that Fortigate didnt make this easy to allow the port(8443). I already created services, policies and interfecas to allow port 8443 but no luck.

 

Do I miss something?

1 reply

lobstercreed
New Member
June 23, 2021

Cherimos wrote:

 

The web filter works fine when I whitelist the sub-domain: sub.hostname.com but not sub.hostname.com:8443

Maybe I'm wrong, but it seems like you found your answer.  The port is not *really* part of the URL, it's just a way to tell your browser to connect on a different port than the default for the protocol (80 for HTTP, 443 for HTTPS).  The real URL (visible in the HTTP headers), and therefore the only thing that can be/not be whitelisted would in fact be the domain portion: sub.hostname.com

 

Put it another way...if you want to whitelist [link]http://www.example.com:80, you[/link] wouldn't put [link]http://www.example.com:80, you'd[/link] just put [link]http://www.example.com and[/link] your browser knows what port to connect on. 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!