iptables and firewalld on Virtualmin Pro

2 posts / 0 new
Last post
#1 Mon, 09/26/2016 - 16:28
jflesher

iptables and firewalld on Virtualmin Pro

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?

Tue, 10/04/2016 - 09:01
unborn
unborn's picture

Hi, sure in fail2ban you can set up your ip address to be widely ignored.. once you performed your changes in your config files.. please make sure you do restart fail2ban so relevant changes will be applied.

..have good day.

Configuring/troubleshooting Debian servers is always great fun

Topic locked