# Blocking Heroes & Generals Server IP

### Introduction

Blocking the Heroes & Generals client from matchmaking to certain regions can have certain benefits, such as not getting into high ping matches.&#x20;

{% hint style="info" %}
Note that this guide **only** effects matchmaking and will still allow you to join a friends game in that region or squad with a friend of that region.&#x20;
{% endhint %}

{% hint style="warning" %}
Note also that doing this can **impact queue times** if you block some regions. The more regions you block out, the more likely it will be that your queue times will be longer. If it does impact queue times you can always disable the rules in the future.
{% endhint %}

### 1. Opening Windows Firewall

Start with pressing the **Windows Key + R**\
It will open the run dialog.

![Run Dialog](/files/-M7AT80L9P7Cdbbpk_2O)

Once it's open type **'wf.msc'** and press OK. This will open windows firewall.

### 2. Adding An Outbound Rule

Adding an outbound rule blocking the server IP will stop it from being pinged by the Heroes & Generals client.&#x20;

Click **'Outbound Rules'** on the left of the dialog and then **'New Rule...'** on the right.

![Windows Firewall](/files/-M7HcBBfaZ-yeMUycUrP)

This dialog should appear.

Choose **'Custom'** as the rule type and click next.

![New Outbound Rule: Rule Type](/files/-M7HchGQFIySVb9UQY40)

Select **'All programs'** and click next.

![New Outbound Rule: Program](/files/-M7Hd1mjqG0IOiwk3Jyk)

Select **'UDP'** under protocol type and **'All Ports'** under local port.\
Then select **'Specific Ports'** under remote port and set it to **port '15000'**.\
Click next.

![](/files/-MI8cKClsiw0Lrtdiolh)

Click **'These IP addresses'** then **'Add...'**

![New Outbound Rule: Scope](/files/-M7HfEVnELP70nX0GESB)

Select **'This IP address or subnet'** and paste in the server IP you want to block. You can find a list of IP addresses on the left.

Press OK and Continue.

![IP Address](/files/-M7Hg150tyMz9-sWYpbg)

Select **'Block the connection'** and click next.

![New Outbound Rule: Action](/files/-M7HieYQzujH3CaBBjLk)

Keep all three profiles ticked and click Next.

![New Outbound Rule: Profile](/files/-M7Hixt0zZn4gu9QuLUH)

Add a name and description so you know what it is in the firewall.

![New Outbound Rule: Name](/files/-M7HjPOojyh5YvtS_qBH)

Click finish and you are done! Have fun with your quicker matchmaking and/or lack of high ping servers.


---

# 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://hngguide.dudwire.com/master.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.
