Share via


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

Question

Thursday, November 22, 2018 10:43 AM

Hi  All,

I have requirement with windows 10 OS with hardening through windows defender firewall inbound and outbound rule to block all TCP and UDP port expect some port 80,443,8443.

dinesh kumar

All replies (3)

Friday, November 23, 2018 3:51 AM

Hi dinesh kumar,

Thanks for posting your query.

To block all TCP and UDP port except some port 80,443,8443 by windows defender firewall inbound and outbound rule, you could follow the steps:

1. Control panel > System and Security > Windows Firewall > Advanced settings

2. Right-click Inbound Rules and click new rule.

3. Choose Port and next.

4. Choose TCP and UDP, type 80,443,8443 in Specific local ports, and next.

5. Choose Block the connection and next.

6. Choose the profile you want to apply and next.

7. Type the name and Description you want and finish.

If you have any concerns or problems, please feel free to post here.

Hope these can help you.

Best regards,

Yilia

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Monday, November 26, 2018 1:32 AM

Hi,

Is there anything I can do for you?

If you have any problems or concerns, please feel free to post here. 

Best regards,

Yilia

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Wednesday, November 28, 2018 1:40 AM

Hi,

Just want to confirm the current situations.

Please feel free to let us know if you need further assistance.   

Best regards,

Yilia

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].