Hi,
I want to know if there is a solution in order to load automatically iptables rules after each restart, without going to SSH and load it myself.
Thank you very much
Centos 7 => Automatic iptables rules load
Re: Centos 7 => Automatic iptables rules load
If using iptables-services and not firewalld (the default) then your saved rules are in /etc/sysconfig/iptables and can be updated from the running set of currnet rules by running service iptables save. The rules are loaded from there at reboot/restart if iptables.service is enabled (systemctl is-enabled iptables).
If you use firewalld which is default then you can use firewall-cmd --runtime-to-permanent to save the running rules and/or run firewall-cmd twice, once with and once without --permanent.
If you use firewalld which is default then you can use firewall-cmd --runtime-to-permanent to save the running rules and/or run firewall-cmd twice, once with and once without --permanent.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke