Hi everyone. I searched the forums and I see a similar issue but the solution for that one won’t work for me.
In my situation I installed VirtualMin via the install.sh on a completely clean and updated installation of CentOS 7 + Perl.
Everything works great and after changing my SSH and FTP ports and installing fail2ban I manually entered my IPTables rules:
iptables:
-F
-A INPUT -p tcp --dport 1964 -j ACCEPT
-A INPUT -p tcp --dport 10000 -j ACCEPT
-A INPUT -p tcp --dport 123 -j ACCEPT
-A INPUT -p udp --dport 123 -j ACCEPT
-A INPUT -p tcp --dport 1965 -j ACCEPT
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/service iptables save
iptables -L -v
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 fail2ban-SSH tcp – any any anywhere anywhere tcp dpt:ssh
92 7640 ACCEPT tcp – any any anywhere anywhere tcp dpt:solid-e-engine
0 0 ACCEPT tcp – any any anywhere anywhere tcp dpt:ndmp
0 0 ACCEPT tcp – any any anywhere anywhere tcp dpt:ntp
152 11552 ACCEPT udp – any any anywhere anywhere udp dpt:ntp
0 0 ACCEPT tcp – any any anywhere anywhere tcp dpt:tivoli-npm
0 0 ACCEPT all – lo any anywhere anywhere
100 9983 ACCEPT all – any any anywhere anywhere state RELATED,ESTABLISHED
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 214 packets, 26613 bytes)
pkts bytes target prot opt in out source destination
Chain fail2ban-SSH (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all – any any anywhere anywhere
Anyway… I went in to look at the configuration module and I get the notification that:
No iptables bootup action was found, indicating that the IPtables package is not installed on your system
What did I do?!