UPnP est dévalidé lors du reboot / UPnP is disable at reboot


The UPnP service is disable at every reboot.

I am not rewarded to keep my YunoHost updated !

How can I set up YunoHost to have a permanent UPnP service ?



Le service UPnP est dévalidé à chaque reboot.

Il est très facile d’oublier de le remettre en route.

Cela ne me récompense pas trop de garder mon Yunohost à jour !!

Comment provoquer la mise en route automatique du service UPnP lors du boot ?



My YunoHost server

*Hardware: Dedicated Intel server

YunoHost version: 11.1.18

I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | All of them

Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no, vanilla install

Mon serveur YunoHost

**Matériel: Serveur Intel dédié

Version de YunoHost: 11.1.18

J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran | … Tout !

Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non, installation standard

Hi @pascal-levasseur

Did you activate UPNP through the webui or via yunohost or some other way ?

How do you detect that upnp is inactive ?

In the documentation Configure port-forwarding | Yunohost Documentation the mentionned command is “firewall restart” so maybe the activation is not on start, this might an indication that you have found a real bug.

Hello Arthur,

  1. UPnP has been enable using the web
  2. I detect that UPnp is not enable after a reboot because :

A) Yunohost complain by email to the administrator that many services are not accessible from the Internet.
B) The webUI display "UPnP is disable "
C) The “Diagnostic” command of the WebUI complain that a lot of Internet ports are not accessible from the Internet.



Mine is also disabled after a reboot, but I guess that it’s the default behaviour. Though I don’t know the motivation about it. And I don’t care, as my system works fine without uPnP.

UPnP support has never really been really maintained unfortunately, the code is a mess (and yes, the current code will disable UPnP forever if it fails even once), it’s hell to test, it’s not clear what fraction of home routers support it x_x

For anybody interested, the relevant piece of code is around here : yunohost/firewall.py at dev · YunoHost/yunohost · GitHub

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