In Red Hat 7 I'm trying to force the IP tables service to start automatically after reboot. Currently, after every reboot I need to run the command:
sudo systemctl start iptables
I've tried setting
sudo chkconfig iptables on
but it isn't running.
In my file /etc/sysconfig/iptables-config
I've set
IPTABLES_SAVE_ON_STOP="yes"
IPTABLES_SAVE_ON_RESTART="yes"
Can someone let me know how to set this to start on reboot?