Skip to main content

VPS Forwarding ports on Windows servers

Port Forwarding

A firewall controls the incoming and outgoing traffic between the server and the Internet. Opened ports can be a security risk, due to which not every port is automatically opened.

If opened ports are needed for a game server or certain applications, a port forward must be performed.

First the "Windows Defender Firewall with extended security" must be opened. This can be searched for by clicking on the Windows logo:

With the incoming rule, the ports are forwarded for applications that try to communicate with the server from outside. In the outbound rule, the ports are forwarded for applications that want to communicate from the server to the outside.


Allowing programs in the Windows firewall

The release for the "Outgoing rule" works in the same way as for the "Incoming rule", so in this example we only show the release of a programme for the "Incoming rule".

As soon as the "Incoming rule" or "Outgoing rule" has been selected in the firewall administration, a "New rule" must be created for it.

For this new rule, "Program" is selected as the "Rule type" and confirmed with "Next >".

Here you can search directly for our programme, in our case we take Chrome for example:

Now you can choose whether the server should allow the connection to the programme, only allow it under certain conditions or block it.

This is confirmed again with "Continue >".

In the "Profile" you can now choose whether this rule should only be active for certain networks or for all.

At "Name" only a name for this new "Rule" must be entered, this is freely selectable.

info

A name should be chosen that is still unused and unique so that it can be found again under "Incoming rule" or "Outgoing rule".

As soon as you confirm with the button "Complete", the rule is activated and the port is released.