No iptables bootup action was found, indicating that the IPtables package is not installed on your system

6 posts / 0 new
Last post
#1 Fri, 12/19/2014 - 15:50
FLHTREX

No iptables bootup action was found, indicating that the IPtables package is not installed on your system

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?!

Mon, 12/19/2016 - 08:25
eugenevdm.host
eugenevdm.host's picture

Did you come right? I want to know if Virtualmin comes pre-configured with firewall rules, but when I go to Webmin I get a similar message...

Eugene van der Merwe

https://vander.host WordPress Website Hosting, VPS Hosting, and Domain Registration

Sun, 06/03/2018 - 09:07
datahardy

I run into this problem right now. Although some time went by since the question was raised, I post my solution. First check the status of firewall related services with service status iptables and service status firewalld. I found that a unit iptables does not exist, so I installed iptables-services and iptables-utils - what will install iptables, too, if missing. Afterwards you can use the firewall module of Vrtualmin.

Good luck Hartmut

Hartmut von dataWing

Sat, 05/04/2019 - 19:49
krembo99

I had the same problem too.. It is strange. Maybe the install.sh does not really take care of that. I will try your fix and will report.

Sat, 05/04/2019 - 20:12
andreychek

Howdy,

Note that with CentOS 7, it uses FirewallD rather than iptables for the firewall service. That's a RHEL/CentOS default, not a Virtualmin setting.

If you're looking to change firewall rules on a new CentOS 7 system, you'd want to look in Webmin -> Networking -> FirewallD.

-Eric

Tue, 06/11/2019 - 04:38
brettonatkin

I am from a Microsoft Azure background, and now looking for a change in Microsoft Azure Certification Exams. There is no doubt that Now since do not have much knowledge of Microsoft Azure Exams. Will Microsoft Azure Certification help in getting a decent job?

For more info visit: https://www.certificationgenie.com/microsoft-azure-exams

Topic locked