Question Creating outbound rule for specific ports

Please provide comments and solutions that are helpful to the author of this topic.

Parkinsond

Level 55
Thread author
Verified
Well-known
Dec 6, 2023
4,482
11,756
5,369
Is this the correct way to create allow outbound connection rule for a certain program through only port 443 using Windows firewall?
Capture.JPG
 
Is this the correct way to create allow outbound connection rule for a certain program through only port 443 using Windows firewall?
View attachment 290935
Not sure if you found your answer on this but I'm going to leave you one here.

Modern applications typically rely on more then one port. Such as applications that generally require port 443 typically require port 53. If only port 443 is chosen and it requires the other it will not function. Some of those applications may attempt to connect over unencrypted port 80 and then be redirected to port 443 , and if port 80 is blocked the handshake will fail.

Take the time to research which ports the application needs to connect and create the rules accordingly.