# Yunohost-firewall service is unknown and all ports are unreachable

**URL:** https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493
**Category:** Support
**Tags:** french, english
**Created:** [February 7, 2026, 9:58pm UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493 "2026-02-07T21:58:34Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![aven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aven/32/8428_2.png) [@aven](https://forum.yunohost.org/u/aven)
#### Post date: [February 7, 2026, 9:58pm UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/1 "2026-02-07T21:58:34Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.1.39  
**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

Hi, I have the following issue. All ports are unreachable according to the webadmin (which I am able to reach from the local network), I am unable to reach anything from outside the local network. I can reload the firewall through ssh, but that doesn’t change anything. My server is in DMZ on my router so I don’t think it is an issue with my internet provider. This happened all of a sudden so I don’t know were to begin looking for issues. I found something on the forum about ufw and firewall conflicting, but it seems I do not have ufw on my server?  
What steps do I need to take to find the issue?

Weirdly, while I am able to ‘reload’ firewall. If i do the command ‘yunohost service start yunohost-firewall’ It gives the error “error: Unknown service ‘yunohost-firewall’”?

Any ideas how to proceed?

### Share relevant logs or error messages

“error: Unknown service ‘yunohost-firewall’”?

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [February 7, 2026, 11:19pm UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/2 "2026-02-07T23:19:37Z")

</div>

hi @aven  
yunohost firewall manages nftables.service (webadmin\>tools\>services)

> [@aven](#):
>
> All ports are unreachable according to the webadmin

from diagnosis or webadmin\>firewall ?

---

<div class="post-metadata">

### Author: ![aven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aven/32/8428_2.png) [@aven](https://forum.yunohost.org/u/aven)
#### Post date: [February 8, 2026, 8:10am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/3 "2026-02-08T08:10:51Z")

</div>

Hi otm33, thanks for answering so quickly,

In the diagnosis all ports are said to be unreachable. When I look in the webadmin\>firewall, the necessary ports are said to be open (green toggle).

I have a also identified a different problem, when I try to update I get the following errors;

```auto
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525

W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525

W: Some index files failed to download. They have been ignored, or old ones used instead.

Something went wrong while updating the cache of APT (Debian’s package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:sources.list:deb bookworm mainsources.list:deb-src bookworm mainsources.list:deb bookworm-security mainsources.list:deb-src bookworm-security mainsources.list:deb bookworm-updates mainsources.list:deb-src bookworm-updates mainsources.list.d/extra_php_version.list:deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] bookworm mainsources.list.d/yarn.list:deb [signed-by=/etc/apt/trusted.gpg.d/yarn.gpg] https://dl.yarnpkg.com/debian/ stable mainsources.list.d/yunohost.list:deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] bookworm stable

```

there seems to have been a short power outage which might have occured while the server was updating automatically. However when I run `sudo yunohost tools regen-conf postfix --dry-run` I get no results either

---

<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: [February 8, 2026, 9:03am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/4 "2026-02-08T09:03:40Z")

</div>

Try running `sudo yunohost tools regen-conf apt -f`

Then `sudo yunohost tools regen-conf --dry-run --with-diff `

And share the diagnosis link

---

<div class="post-metadata">

### Author: ![mobi0001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mobi0001/32/13252_2.png) [@mobi0001](https://forum.yunohost.org/u/mobi0001)
#### Post date: [February 8, 2026, 9:33am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/5 "2026-02-08T09:33:34Z")

</div>

This one seems to be cause the keyring expired. I solved both PHP & Yarn issue and shared here: `https://forum.yunohost.org/t/php-repo-key-expired-solved/41499`

---

<div class="post-metadata">

### Author: ![mobi0001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mobi0001/32/13252_2.png) [@mobi0001](https://forum.yunohost.org/u/mobi0001)
#### Post date: [February 8, 2026, 9:34am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/6 "2026-02-08T09:34:15Z")

</div>

Sorry, cannot post links, as created a new account for the PHP & Yarn issue just now.

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [February 8, 2026, 10:09am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/7 "2026-02-08T10:09:03Z")

</div>

The issue with expired keys is normal and common (see [here](https://forum.yunohost.org/t/yarn-repo-key-expired-edit-changed-again-is-it-ok-to-trust-it/41380) and [here](https://forum.yunohost.org/t/something-went-wrong-while-updating-the-cache-of-apt-due-to-sury-version-2024/28570/15)).  
From outside of your LAN, could you try

```auto
nmap -p 443 YOURPUBLICIP

```

Could your isp have started using CGNAT ?  
For testing purpose, could you try moving your ynh from DMZ and setting up [portforwarding](https://doc.yunohost.org/en/admin/get_started/post_install/port_forwarding/) instead?

---

<div class="post-metadata">

### Author: ![aven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aven/32/8428_2.png) [@aven](https://forum.yunohost.org/u/aven)
#### Post date: [February 8, 2026, 10:15am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/8 "2026-02-08T10:15:56Z")

</div>

I ran the two commands and then reran the diagnosis: logs here [https://paste.yunohost.org/raw/figuzaduxu](https://paste.yunohost.org/raw/figuzaduxu)

---

<div class="post-metadata">

### Author: ![mobi0001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mobi0001/32/13252_2.png) [@mobi0001](https://forum.yunohost.org/u/mobi0001)
#### Post date: [February 8, 2026, 10:16am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/9 "2026-02-08T10:16:19Z")

</div>

> [@otm33](#):
>
> and here

This one does not work and hence I created my thread. It kept giving error, and I mentioned that in the xmpp chat room as well.

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [February 8, 2026, 10:32am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/10 "2026-02-08T10:32:46Z")

</div>

Ok! What’s the difference ?

---

<div class="post-metadata">

### Author: ![mobi0001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mobi0001/32/13252_2.png) [@mobi0001](https://forum.yunohost.org/u/mobi0001)
#### Post date: [February 8, 2026, 10:39am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/11 "2026-02-08T10:39:20Z")

</div>

Okay, I just re-checked. I was only trying the “solved answer” part, and did not take the real look at all posts there. My bad. ☹

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [February 8, 2026, 10:44am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/12 "2026-02-08T10:44:01Z")

</div>

No problem, no worries 🙂

---

<div class="post-metadata">

### Author: ![aven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aven/32/8428_2.png) [@aven](https://forum.yunohost.org/u/aven)
#### Post date: [February 8, 2026, 10:49am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/13 "2026-02-08T10:49:23Z")

</div>

The solution seems to be to move the server outside the DMZ, but I do not understand why.

- after moving to portmapping, the server did connect again (except for the coturn port which never works for reasons I cannot figure out).

- I did the first solution for the expired keyring, thanks, I was unaware and the issue seems indeed unrelated. First solution works perfectly

- I have a fixed IP address through my provider and it does not seem that I have CGNAT. Is there I way I could check it for sure?

Is there still a way I could test what went wrong with the DMZ set-up? In any case, many thanks for all the help!! currently it seems workable 🙂

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [February 8, 2026, 10:53am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/14 "2026-02-08T10:53:52Z")

</div>

> [@aven](#):
>
> The solution seems to be to move the server outside the DMZ, but I do not understand why.

If it worked before, it could mean your isp changed DMZ rules: it seems that isp DMZ are not always “real” DMZ.

---

<div class="post-metadata">

### Author: ![aven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aven/32/8428_2.png) [@aven](https://forum.yunohost.org/u/aven)
#### Post date: [February 8, 2026, 10:56am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/15 "2026-02-08T10:56:10Z")

</div>

Ok, seems plausable.. worked for a few years till a week ago. I’ll go with port forwarding then from now on. thank you for all the help!

---

<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: [March 10, 2026, 10:56am UTC](https://forum.yunohost.org/t/yunohost-firewall-service-is-unknown-and-all-ports-are-unreachable/41493/16 "2026-03-10T10:56:46Z")

</div>

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