# 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**

![](/files/-Ma2VQ09pwZr4YlOxaWS)
{% endtab %}

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

![](/files/-Ma2VUDr6qXYiG-yupoL)
{% endtab %}

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

![](/files/-Ma2VXuUKWrQjKctGNjo)
{% endtab %}

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

![](/files/-Ma2Vbf6O3pg7ThFswLR)
{% endtab %}

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

![](/files/-Ma2Veuu9SOjt7O2hf0d)
{% 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**.

![](/files/-Ma2Vi9PwCkiKr7f9mAS)
{% endtab %}

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

![](/files/-Ma2VmSzkOwDIVf2JcGa)
{% 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 %}

![](/files/-Ma2Vu2CIP18Di0ytkVU)

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.secured.gg/vps/port-forwarding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
