I have never really used Firewalld in Webmin, I am more used to UFW and it has worked great but yesterday I got a strange problem. I needed to allow 5055 and did so in UFW but a port scan told me that the port was closed so the service that needed it did not work. I googled and then looked in Firewalld and opened the port there. And directly it worked
So my question is. Why this happened? Is Firewalld a better choice than UFW
You’ve asked this in the Webmin category and you’ve only mentioned Webmin, which makes me think you only have Webmin (and not Virtualmin, also). If that’s the case, I have no answers for you, because Webmin does not configure a firewall of any sort. If you have a firewall other than UFW Webmin had nothing to do with it.
If, on the other hand, you installed Virtualmin using our installer, you would have firewalld, and a firewall suitable for use with Virtualmin and the services it manages. A search of the forum should bring up sufficient discussion for why firewalld is our default firewall (it’s available on all distros we support, it doesn’t create a bunch of bs rules, it works with fail2ban, and it’s reasonably easy to use). You may choose whatever firewall you want, but you’ll need to disable the firewalld firewall, and reconfigure fail2ban to work with whatever else you choose (ipset can work with any firewall, though, so it doesn’t change much, I don’t think).
Apologies, I wasn’t intending to be aggressive, just striving for clarity about what happens where. (Webmin never does anything without being told, Virtualmin configures a bunch of stuff and pulls in a bunch of dependencies.)
It is clear that it interfered. I have removed UFW and opened the port in Firewalld and now it works as it should on that server.
I have a 3rd server where I have installed netdata. Have to open 19999. Have removed ufw and opened the port in Firewalld but a portscan still say closed
I was told (in college, by my brother) that my emails sounded “mean”… and I was like “but you know me”… and he said “exactly – in person we can see your smile, but not in email”.
So… for (redacted) years now, I’ve included a SMILEY FACE at the end of every email to nearly EVERYONE… and it has worked… people think I’m so friendly.