Web Interface to Nagios Core - connection has timed out

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
hbackus
Posts: 36
Joined: Tue May 17, 2011 5:02 pm

Re: Web Interface to Nagios Core - connection has timed out

Post 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.
;)
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Web Interface to Nagios Core - connection has timed out

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Web Interface to Nagios Core - connection has timed out

Post 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!
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Web Interface to Nagios Core - connection has timed out

Post by tmcdonald »

@hbackus is everything resolved? If so I would like to close this thread now.
Former Nagios employee
User avatar
hbackus
Posts: 36
Joined: Tue May 17, 2011 5:02 pm

Re: Web Interface to Nagios Core - connection has timed out

Post by hbackus »

Yes, this thread can be closed.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Web Interface to Nagios Core - connection has timed out

Post by mcapra »

Closing this up!
Former Nagios employee
https://www.mcapra.com/
Locked