Windows 10 Block all TCP and UDP port and allow some port

kent lee 0 Reputation points
2023-05-13T02:35:23.1266667+00:00

I would like to block all tcp & UDP ports Except port 53 443 how would I do that in windows firewall

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,715 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 18,521 Reputation points Microsoft Vendor
    2023-05-15T03:07:08.4533333+00:00

    Hello @ kent lee 

    As I know, you will need create 4 rules: two inbound rules (one for TCP traffic and one for UDP traffic) and two outbound rules (one for TCP traffic and one for UDP traffic).

    When you creating the rule just choose ’block the connection ’ will work.

    User's image

    User's image

    User's image

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.