> For the complete documentation index, see [llms.txt](https://docs.datarhei.com/restreamer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datarhei.com/restreamer/knowledge-base/user-guides/how-does-port-forwarding-work-for-the-restreamer.md).

# How does port forwarding work for the Restreamer?

## What is port forwarding?

Port forwarding allows remote computers (e.g., computers on the Internet) to connect to a specific computer or service within a private local area network (LAN). A public IP must be available for the Restreamer's IP to be accessible from "outside" after installation.

## What ports are needed for the Restreamer?

Open ports for HTTP and HTTPS are required. We recommend using HTTPS on the website.

| What  | Router (external port) | Restreamer (internal port) | Optional |
| ----- | ---------------------- | -------------------------- | -------- |
| HTTP  | 80/tcp                 | 8080/tcp                   |          |
| HTTPS | 443/tcp                | 8181/tcp                   | x        |
| RTMP  | 1935/tcp               | 1935/tcp                   | x        |
| RTMPS | 1936/tcp               | 1936/tcp                   | x        |
| SRT   | 6000/udp               | 6000/udp                   | x        |

{% hint style="info" %}
RTMPS can be activated in addition to HTTPS!
{% endhint %}

{% hint style="info" %}
To use live streams/players/publication sites on the Internet, including Let's Encrypt (automatic HTTPS certification function), the port forwarders for HTTP and HTTPS are required.
{% endhint %}

## Check port forwarding

Various free web services are available on the Internet for testing to check whether the forwarding is active without errors.

{% embed url="<https://portchecker.co>" %}
**External link:** Check public ports
{% endembed %}

## Learn more

{% content-ref url="/pages/VL9KZbvjbi0fDubQOG6B" %}
[How can I use HTTPS with Let's Encrypt?](/restreamer/knowledge-base/user-guides/how-can-i-use-https-with-lets-encrypt.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MXb\_m72sKwXpgM5udfT" %}
[Knowledge Base](/restreamer/knowledge-base/manual.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.datarhei.com/restreamer/knowledge-base/user-guides/how-does-port-forwarding-work-for-the-restreamer.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.
