firewall rules loading on reboot

General support questions
Post Reply
jngk
Posts: 1
Joined: 2019/01/14 11:44:45

firewall rules loading on reboot

Post by jngk » 2019/01/14 11:49:26

Hi folks,

iptables is loading some rules on reboot, even though firewalld is disabled.

Code: Select all

$ systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
Could you tell me here these rules are stored?

User avatar
TrevorH
Forum Moderator
Posts: 26576
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: firewall rules loading on reboot

Post by TrevorH » 2019/01/14 12:04:11

If you've installed and enabled iptables-service then your rules could also be loaded from /etc/sysconfig/iptables

systemctl status iptables
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”