> For the complete documentation index, see [llms.txt](https://flying-fish.gitbook.io/flyingfish/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flying-fish.gitbook.io/flyingfish/index/configurations/listen/port-forwarding.md).

# Port forwarding

Port forwarding when FlyingFish is behind a router.

<figure><img src="https://1973811904-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Flk5l3lUfuUzRDnMDVwnw%2Fuploads%2FqPJY4NFe620cYlIzuZlx%2Fportforwarding2.png?alt=media&amp;token=03c8cf58-5140-4823-bdb8-5805d7032616" alt=""><figcaption><p>Port flow</p></figcaption></figure>

Should have installed [FlyingFish by default](/flyingfish/index/installation/quick-setup.md). [Ports 80, 443, 5333](/flyingfish/index/installation/long-setup/docker-compose/ports.md) can be reached on the host system. These ports must now be accessible from the Internet.

The ports must be released from your router (in my example from the address 192.168.11.1) to the server (in my example the address 192.168.11.3). From 2nd to 1st, port 80 must be forwarded to 80 (tcp), 443 to 443 (tcp) and 53 to 5333 (udp and tcp).

{% hint style="info" %}
You have to research online how to set up your router. Since the routers differ from each manufacturer.
{% endhint %}

{% hint style="info" %}
Automation with [Upnp-Nat](/flyingfish/index/configurations/listen/upnp-nat.md) can automate this process.
{% endhint %}

**Collection of links for known routers:**

* [FritzBox 7590](https://en.avm.de/service/knowledge-base/dok/FRITZ-Box-7590/34_Setting-up-port-sharing-in-the-FRITZ-Box/)
