# Cannot expose ports

**URL:** https://forum.yunohost.org/t/cannot-expose-ports/39878
**Category:** Support
**Tags:** dns, yunohost-firewall, french, english
**Created:** [September 2, 2025, 11:26am UTC](https://forum.yunohost.org/t/cannot-expose-ports/39878 "2025-09-02T11:26:05Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![1RandHomme](https://forum.yunohost.org/user_avatar/forum.yunohost.org/1randhomme/32/12617_2.png) [@1RandHomme](https://forum.yunohost.org/u/1RandHomme)
#### Post date: [September 2, 2025, 11:26am UTC](https://forum.yunohost.org/t/cannot-expose-ports/39878/1 "2025-09-02T11:26:06Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.1.17.1  
**How are you able to access your server** : The webadmin  
SSH  
**Are you in a special context or did you perform specific tweaking on your YunoHost instance ?** : no

### Describe your issue

On diag page, yunohost say than ports aren’t exposed.  
On my router, I’ve manually opened all ports listed in Yunohost’s firewall page (because UPnP was too easy right ? Why disable this and let the option…mystery).

What I have to do in addition ?

### Share relevant logs or error messages

No additional log

---

<div class="post-metadata">

### Author: ![Sanook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/sanook/32/12499_2.png) [@Sanook](https://forum.yunohost.org/u/Sanook)
#### Post date: [September 2, 2025, 2:24pm UTC](https://forum.yunohost.org/t/cannot-expose-ports/39878/2 "2025-09-02T14:24:14Z")

</div>

> [@1RandHomme](#):
>
> On my router, I’ve manually opened all ports

You need to forward the ports to YunoHost as well or setup YunoHost as DMZ on the router, which will forward everything to YunoHost.

---

<div class="post-metadata">

### Author: ![1RandHomme](https://forum.yunohost.org/user_avatar/forum.yunohost.org/1randhomme/32/12617_2.png) [@1RandHomme](https://forum.yunohost.org/u/1RandHomme)
#### Post date: [September 2, 2025, 2:35pm UTC](https://forum.yunohost.org/t/cannot-expose-ports/39878/3 "2025-09-02T14:35:05Z")

</div>

I don’t realy understand what the point with DMZ… For me, a DMZ is an isolated sub part of local network, why this will open all port ?

---

<div class="post-metadata">

### Author: ![1RandHomme](https://forum.yunohost.org/user_avatar/forum.yunohost.org/1randhomme/32/12617_2.png) [@1RandHomme](https://forum.yunohost.org/u/1RandHomme)
#### Post date: [September 2, 2025, 2:41pm UTC](https://forum.yunohost.org/t/cannot-expose-ports/39878/4 "2025-09-02T14:41:41Z")

</div>

I’ve set my Yunohost as DMZ, but nothing change on diag page.

Also my IP has change so I run `yunohost dyndns update --force` but this time nothing happen, I’va always the error :

> Certains enregistrements DNS sont manquants ou incorrects pour le domaine [randhome.ynh.fr](http://randhome.ynh.fr) (catégorie basic)

[https://paste.yunohost.org/raw/suliyeraku](https://paste.yunohost.org/raw/suliyeraku)

[![](https://pic.infini.fr/gallery#AuWtsVdk/SWv8UbDE.png,OgtRcFLV/Qok1EQwY.png) ](https://pic.infini.fr/gallery#AuWtsVdk/SWv8UbDE.png,OgtRcFLV/Qok1EQwY.png)

---

<div class="post-metadata">

### Author: ![1RandHomme](https://forum.yunohost.org/user_avatar/forum.yunohost.org/1randhomme/32/12617_2.png) [@1RandHomme](https://forum.yunohost.org/u/1RandHomme)
#### Post date: [September 3, 2025, 10:27am UTC](https://forum.yunohost.org/t/cannot-expose-ports/39878/5 "2025-09-03T10:27:18Z")

</div>

Today DNS error is ok (I make no change but it’s ok…)

So only ports aren’t opened despite DMZ and NAT.

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [September 3, 2025, 11:21pm UTC](https://forum.yunohost.org/t/cannot-expose-ports/39878/6 "2025-09-03T23:21:47Z")

</div>

Did you check for your router guides? Some routers require some more configuration to allow open ports. And check your Internet provider allows you to open these ports

---

<div class="post-metadata">

### Author: ![1RandHomme](https://forum.yunohost.org/user_avatar/forum.yunohost.org/1randhomme/32/12617_2.png) [@1RandHomme](https://forum.yunohost.org/u/1RandHomme)
#### Post date: [September 4, 2025, 7:06am UTC](https://forum.yunohost.org/t/cannot-expose-ports/39878/7 "2025-09-04T07:06:32Z")

</div>

My internet provider is Orange (Sosh) and by the past I was able to open ports.

My 5g router is a netgear Nighthawk M6 and I’ve open ports (see screenshot shared bellow in previous post).

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [October 4, 2025, 7:07am UTC](https://forum.yunohost.org/t/cannot-expose-ports/39878/8 "2025-10-04T07:07:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
