How to configure port forwarding in Windows 10

How to configure port forwarding in Windows 10

Occasionally, you will come across an application or game that requires you to do something called “port forwarding”. Without port forwarding, “incoming” traffic and data from the Internet will not be able to communicate with the application / game, and you will not be able to perform certain Internet functions of this software. This tutorial will show you how to configure port forwarding in Windows 10.

Note: You may also need to configure port forwarding on your router, for which we have a separate guide.

First, press the key To win tap on your keyboard, then type firewall in the Start Search menu and click on “Windows Defender Firewall”.

In the left pane, click “Advanced Settings” to open the firewall rules window. Since port forwarding typically involves inbound traffic (that is, traffic from an enterprise’s data centers or servers), click “Inbound traffic rules” in the left pane.

If you’ve had your PC for a while, you should see a long list of “rules” in the center pane, applying to the different applications, services, and software that you allow to route traffic to your PC.

To get an idea of ​​how the ports work, right-click an entry in the list and click Properties.

You will see the type of protocol (usually TCP or UDP, but there are different alternatives) as well as the “local port” – the port of your firewall through which you allow the connection.

Configure Windows 10 port forwarding rule properties

The most important here is the “remote port”, which is the port that the client (application, software trying to connect with you) uses to connect.

With most applications, as in the image above, a remote port is randomly assigned by the client, so by default it is “All ports” on the Windows firewall.

Create new wearing rules

Click “New Rule” in the right pane, then in the new window, click Port. Choose whether the connection will use a TCP or UDP protocol (whichever application asks you to forward the port, specify the protocol), then choose the ports you want to open.

You can allow “All local ports” or specify the local ports you want to open. You can specify a single port, a range of ports, or choose multiple ports separated by commas.

Configure Windows 10 New Rule Wizard port forwarding

Click Next, then click “Allow Connection”. Choose whether the connection should apply to your domain, your private home network, or a public network location (not recommended for security reasons). On the next screen, name the rule.

Once the rule is created, it will join the large list of incoming rules in the Advanced Security window.

Your new rule will now join your list of incoming rules where you can double-click it to modify it, make it apply only to specific programs and services, etc.

Configure Windows 10 port forwarding program services

At any time, you can right-click the ruler and select “Disable” or “Delete” as well.

And that’s all. You now know how to configure port forwarding in Windows 10. You should also see how to block programs using your firewall as well as a review of Windows Defender asking if it is good enough to protect your PC.

Image credit: Protected Internet global network by DepositPhotos

Related:

Is this article useful?

Leave a Comment

Your email address will not be published. Required fields are marked *