I got locked out of my VPS account today, it was after running: clamscan --infected --recursive --remove /home
and a reboot the server did not come back up, I had to call tech support and they found that iptables had blocked all ports.
I did a normal install using the pro install.sh, so my question is that in Webmin -> Networking -> Linux Firewall; I see No iptables bootup action was found, indicating that the IPtables package is not installed on your system
and running cat /etc/sysconfig/iptables
got me this:
cat: /etc/sysconfig/iptables: No such file or directory
So where is the iptables file located, I looked in all the normal places and found nothing, but systemctl status firewalld show its running.
Under Webmin Unused Modules I see:
Fail2Ban Intrusion Detector
FirewallD
both are set to yes for boot up
Do I need to make this used, if so how?
I did install fail2ban.
I did search the internet and all docs, I might have missed something.
I want to make sure I do not get locked out again, any ideas?