Today, I installed Webmin to help with making it simpler to manage the server, and other goodies it has.
With ASTPP, they are using the default FirewallD.
Since Webmin needs port 10000 TCP open, I entered the following commands.
firewall-cmd --permanent --zone=public --add-port=10000/tcp
Upon executing the second command, I got the following error:
Error: COMMAND_FAILED: ‘/sbin/ip6tables-restore -w -n’ failed: ip6tables-restore v1.8.2 (nf_tables):
line 4: RULE_REPLACE failed (No such file or directory): rule in chain INPUT
line 4: RULE_REPLACE failed (No such file or directory): rule in chain OUTPUT
I also noticed all the open ports in iptables had been wiped out. So I had to go and re-enter then, including port 22 for SSH.
The workaround is to change the following in:
InvividualCalls=yes then reboot before trying to make changes like I did.
PS: I always do “systemctl stop webmin” when not using because there may be an exploit.