# Port Forwarding

{% hint style="info" %}
This feature is available in the **Essential plan and higher**.
{% endhint %}

You may set up Port Forwarding in [Control Panel > Network > Gateways > Edit button](https://app.goodaccess.com/gateways/).

{% hint style="danger" %}
**We highly recommend opening only the ports you need.**

Opening the whole range of ports (i.e. 1-65535) presents a high security risk to your network.
{% endhint %}

{% hint style="warning" %}
Enabling Port Forwarding automatically locks the private IP addresses for the selected device. This setting cannot be disabled while Port Forwarding is active.

Once locked, you can view the assigned private IPs in the Device detail.
{% endhint %}

{% hint style="info" %}
In case you want to create a rule for both protocols using same port number, you need to create separate rule for each protocol.
{% endhint %}

* **Device:** Select a Member and the device you want to forward incoming traffic to
* **Service Name:** Name the new port forwarding rule
* **Public Port / Range:** Enter the public port number or range
* **Local Port / Range:** Enter the local port number or range&#x20;
* **Protocol:** Select the TCP or UDP protocol


---

# 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://support.goodaccess.com/configuration-guides/features/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.
