Yunohost-firewall failed, cannot start

My YunoHost server

Hardware: Raspberry Pi 3B at home
YunoHost version: 4.0.6.1
**I have access to my server :**through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

Hi there,

I was having some trouble with node-red today and took a look at the services running on my Yunohost instance. I was able to restart the node-red service. But I also notices that the Yunohost-Firewall service said it’d failed since 10 days ago.

When I try to restart the Yunohost-Firewall service, the log at the top of the screen says Service 'yunohost-firewall' started But in the services it still says it failed since 10 days ago.

The journalctl there is empty:

-- Logs begin at Thu 2020-09-03 09:41:10 BST, end at Fri 2020-09-04 22:31:01 BST. --
-- No entries --

I would like my Yunohost instance to be safe from the outside. Can you please help me figuring out what is going on here and how to get the firewall on again?
Thanks :wink:

What’s the result of : iptables-save ?

Is there some rules or not ?

I have the same issue of MrMorals.

After the migration to buster the firewall management has passed to nftables and it is not anymore managed by iptables.

I solved the issue with iptables-translate package as described in https://wiki.nftables.org/wiki-nftables/index.php/Moving_from_iptables_to_nftables and now my firewall is going but the same the yunohost-firewall service fails.

Yes, but the iptables commands still work and implement a compatibility layer with the new nftables system

Not sure if that was a good idea to do all this by hand … this is supposed to be handled by Yunohost in migration number 18…

Thanks for your swift answer!
If I ssh into my ynh server and run iptables-save there is no output.

If you need more info, please let me know :slight_smile: