Page 1 of 1

Installing Core from Source - Documentation Suggestion

Posted: Mon Jun 09, 2014 4:38 am
by Box293
I was playing around with installing Nagios Core from Source on some CentOS boxes following the document "Nagios - Installing Nagios Core From Source" pdf.

I couldn't access the Nagios web interface until I allowed firewall rules with iptables.

I think there needs to be a section with these following two lines:

Code: Select all

iptables -I INPUT -p tcp --destination-port 80 -j ACCEPT
/sbin/service iptables save

Re: Installing Core from Source - Documentation Suggestion

Posted: Mon Jun 09, 2014 7:07 am
by eloyd
iptables -I INPUT -p tcp --destination-port 80 -j ACCEPT
That may violate someone's corporate firewall policy.

I agree that there may need to some sort of mention of making sure that firewall rules are updated, but having a blanket open statement for all web traffic from all sources may not be right in all cases. And teaching people the structure and syntax of iptables is beyond the scope of the quickstart document that I think you're referring to.

But I'm all for a "Closing thoughts" of "don't forget to update any firewall rules to allow access to your web server port."