Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Cherimos
New Contributor

Allow unrated port

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 1
lobstercreed
Valued Contributor

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. 

Labels
Top Kudoed Authors