Configure Windows Server 2016 Firewall Inbound TCP port Allow

PAVZ 136 Reputation points
2022-01-13T18:54:33.197+00:00

Dear Team,

I want to configure firewall inbound TCP port Allow on server 2016, I have configured some TCP ports Allow on server firewall inbound, some port is working but some port is not working, I tried only TCP ports allow configure on firewall inbound policy but some TCP port not working properly.

Please share with me Microsoft Learn & if possible to share any video link.

Windows for business | Windows Server | User experience | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Falcon IT Services 226 Reputation points
    2022-01-13T20:10:40.42+00:00

    Hello MH-3174,

    If you are accessing from WAN, make sure your gateway firewall also has the ports open and forwarded to the server.

    Here's how to open ports in Windows firewall:

    Open PowerShell and type firewall and press enter. Windows firewall console will display. Click Advanced Settings.

    In Windows Firewall with Advanced Security, click on inbound rules.

    Highlight all of the inbound rules, right click and select delete.

    To add an inbound rule, highlight inbound rule and select new rule from the actions pane.

    The new inbound rule wizard will appear. Follow these steps to add a rule for Remote Desktop:

    Here are some details, just scroll down to the part of configuring the firewall, disregard the RRAS setup part.

    https://www.falconitservices.com/windows-server-rras-setup-and-configuration-using-windows-server-a-firewall-router/

    Cheers,

    Miguel Fra
    https://www.falconitservices.com

    0 comments No comments

  2. Limitless Technology 39,926 Reputation points
    2022-01-14T09:37:56.96+00:00

    Hello MH

    The most typical reason where a port appears as not blocked efficiently by Windows Firewall is when you test using loopback IP for listeners. You will need an external machine to test the inbound filtering of the interface. Is there any special ports that you can mention that are not being filtered effectively?


    As always if you have any questions please don't hesitate to contact us.

    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.