Page 3 of 3
Re: Web Interface to Nagios Core - connection has timed out
Posted: Tue Jun 21, 2016 8:07 pm
by hbackus
eloyd:
Thanks for your time and your help.
I moved the "-A INPUT..... ACCEPT" statements for port 80 to the top of the iptables and the page displays OK.
I guess I will have to read up more on IPTABLES.

Re: Web Interface to Nagios Core - connection has timed out
Posted: Tue Jun 21, 2016 9:13 pm
by Box293
Yes it's a common thing that can cause annoyance.
-A INPUT will append to the end of the chain (which can allow it to go under a REJECT and become useless)
-I INPUT will insert it top the top of the chain
Code: Select all
iptables -I INPUT -p tcp --destination-port 80 -j ACCEPT
Re: Web Interface to Nagios Core - connection has timed out
Posted: Wed Jun 22, 2016 10:01 am
by eloyd
Glad I could help. iptables sets the firewall rules, which are read until a match is made. So if you want to ALLOW something for some sites, but DROP it for others, it's usually best to put the allow lines first, then drop everything else.
If you think my help was worth a Nagios MVP nomination, please do so using the link in my signature. Thanks!
Re: Web Interface to Nagios Core - connection has timed out
Posted: Wed Jun 22, 2016 10:04 am
by tmcdonald
@hbackus is everything resolved? If so I would like to close this thread now.
Re: Web Interface to Nagios Core - connection has timed out
Posted: Wed Jun 22, 2016 7:53 pm
by hbackus
Yes, this thread can be closed.
Re: Web Interface to Nagios Core - connection has timed out
Posted: Thu Jun 23, 2016 9:27 am
by mcapra
Closing this up!