# How to port forward on Windows

Wondering how to accept connections via a specific port?

To start off, log into your Windows VPS

{% tabs %}
{% tab title="Step 1" %}
&#x20;In the **Search** icon (bottom left), type in **Windows Defender Firewall with Advanced Security**

![](https://1897376776-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma2FYOta3m4TCoZyVBG%2F-Ma2UldQ7J6ZRbe06zQK%2F-Ma2VQ09pwZr4YlOxaWS%2Findex.php.png?alt=media\&token=c8f21aac-5b6d-4ac0-b018-5c8aa455cb52)
{% endtab %}

{% tab title="Step 2" %}
Once you've opened this application, you will be greeted with your Firewall rules. Please click **Inbound** **Rules**

![](https://1897376776-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma2FYOta3m4TCoZyVBG%2F-Ma2UldQ7J6ZRbe06zQK%2F-Ma2VUDr6qXYiG-yupoL%2Findex.php.png?alt=media\&token=826c3f7f-24f1-4fb7-b90f-daa79900e50b)
{% endtab %}

{% tab title="Step 3" %}
&#x20;In the **Actions** tab, please click on **New Rule...**

![](https://1897376776-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma2FYOta3m4TCoZyVBG%2F-Ma2UldQ7J6ZRbe06zQK%2F-Ma2VXuUKWrQjKctGNjo%2Findex.php.png?alt=media\&token=828517cb-497c-43d3-b2b5-112cd7a47230)
{% endtab %}

{% tab title="Step 4" %}
&#x20;You will be prompted to create a specific rule, in this case we'll select **Port**

![](https://1897376776-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma2FYOta3m4TCoZyVBG%2F-Ma2UldQ7J6ZRbe06zQK%2F-Ma2Vbf6O3pg7ThFswLR%2Findex.php.png?alt=media\&token=f80a088d-b19d-4819-8fa0-1937e3646c12)
{% endtab %}

{% tab title="Step 5" %}
The window will now prompt you to enter in your desired ports (separated by commas)\*.

![](https://1897376776-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma2FYOta3m4TCoZyVBG%2F-Ma2UldQ7J6ZRbe06zQK%2F-Ma2Veuu9SOjt7O2hf0d%2Findex.php.png?alt=media\&token=2de547ce-bcdf-4f99-9554-b7eec38350be)
{% endtab %}

{% tab title="Step 6" %}
&#x20;The window will ask you a few questions about allowing connection, in this example we'll **Allow the** **connection**.

![](https://1897376776-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma2FYOta3m4TCoZyVBG%2F-Ma2UldQ7J6ZRbe06zQK%2F-Ma2Vi9PwCkiKr7f9mAS%2Findex.php.png?alt=media\&token=189ff79f-6538-422c-a25d-b586e3bfd115)
{% endtab %}

{% tab title="Step 7" %}
&#x20;Please select all domain profiles regarding the connection for the port (**Domain, Private, and Public**)

![](https://1897376776-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma2FYOta3m4TCoZyVBG%2F-Ma2UldQ7J6ZRbe06zQK%2F-Ma2VmSzkOwDIVf2JcGa%2Findex.php.png?alt=media\&token=f676696f-d52d-4a0e-bae9-2da3105692d7)
{% endtab %}

{% tab title="Step 8" %}
Provide a name for the Inbound rule:

{% hint style="info" %}
Can be anything to help you remember what the rule name is.
{% endhint %}

![](https://1897376776-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma2FYOta3m4TCoZyVBG%2F-Ma2UldQ7J6ZRbe06zQK%2F-Ma2Vu2CIP18Di0ytkVU%2Findex.php.png?alt=media\&token=8893df4f-5a9c-48c0-b638-9ec730a1f463)

&#x20;Hit **Finish** and you're all done!
{% endtab %}
{% endtabs %}
