Hi All,
I've just started getting DHCP offer errors, and was able to fix it via the advice from this thread
http://support.nagios.com/forum/viewtop ... 07&p=31206
I'd like to add the iptables command to the CentOS startup script so that I don't have to remember to do it each time the system restarts. Can anyone point me to the system startup script please?
Ta muchly,
Chris.
CentOS Startup Script
Re: CentOS Startup Script
did you run
"service iptables save"
after the iptables change? I believe that makes the changes permanent.
"service iptables save"
after the iptables change? I believe that makes the changes permanent.
Re: CentOS Startup Script
In addition to the last post, open the "iptables-config":
and make sure you have the following lines:
Hope this helps.
Code: Select all
vi /etc/sysconfig/iptables-config
Code: Select all
IPTABLES_SAVE_ON_STOP="yes"
IPTABLES_SAVE_ON_RESTART="yes"
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: CentOS Startup Script
Thanks all,
I have done those.
Cheers,
Chris.
I have done those.
Cheers,
Chris.