Table of Contents
This practical guide walks through how to set up port forwarding in Windows, explains the main requirements, and highlights common issues that may appear along the way.
Note : you may also need to set up Port Forwarding on your router. Refer: 6 Simple Steps to Install Port Forwarding on Router for more details.
Setting up Port Forwarding on Windows
First, press the Win key on your keyboard, then type firewall into the Start search menu and click Windows Defender Firewall .
On the left, click Advanced settings to open the Firewall rules window . Since port forwarding typically involves inbound traffic (i.e. traffic to PCs from data centers or corporate servers), click Inbound Rules on the left.

If you've been using your PC for a while, you'll see a long list of "rules" in between, which apply to the different apps, services, and software that you allow to deliver traffic to your PC. mine.
To see how ports work, right-click an entry in the list and choose Properties.
You will see the protocol type (usually TCP or UDP, although there are various alternatives) as well as the Local port - the port in the firewall to which you are allowing connections.

What is really important here is the Remote port , which is the port that the client (application, software trying to connect to you) uses to connect.
For most applications, as shown above, a remote port is randomly assigned by the client, so it defaults to All ports on the Windows firewall.
Create a new gate rule
Click New Rule on the right, then in the new window click Port. Choose whether the connection will use TCP or UDP (any application that requires you to forward should be specified), then select the ports you want to open.
You can allow 'All local ports' or specify which local ports to open. You can specify a port, a range of ports, or select several ports (separated by commas).

Click Next , then click Allow the Connection . Choose whether the connection will apply on your domain, your private home network, or a public network location (not recommended for the sake of security). On the next screen, give the rule a name.
Once created, the rule will be in the large Inbound Rules list in the Advanced Security window .
The new rule will now be in the list of incoming rules, where you can double-click it to modify it, making it only apply to specific programs and services, etc.

At any point, you can right-click the rule and choose Disable or Delete.
Now you know how to set up Port Forwarding in Windows!
Hope you are succesful.
Key Takeaways
Use the information above as a practical reference for how to set up port forwarding in Windows. Review each step carefully, confirm any requirements, and choose the option that best fits your situation.
FAQ
What does this guide explain about Set up Port Forwarding in Windows?
It explains the main concepts, practical considerations, and useful steps related to set up port forwarding in Windows without requiring advanced knowledge.
Who can benefit from learning about Set up Port Forwarding in Windows?
This information is useful for readers who want a clear overview, practical guidance, and reliable steps related to set up port forwarding in Windows.
What should I check before applying this information?
Review the requirements, confirm that your device, software, or situation matches the instructions, and back up important data before making major changes.
Reader Comments 0
Sign in with email or Google to join the discussion.