<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Check hosts behind NAT/firewall - Nagios Core Services Platform				            </title>
            <link>https://www.nagios.org/community/nagios-forum/check-hosts-behind-nat-firewall/</link>
            <description>Nagios Core Services Platform Discussion Board - Open Source Powered Monitoring</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 11 Jun 2026 01:21:45 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Check hosts behind NAT/firewall</title>
                        <link>https://www.nagios.org/community/nagios-forum/check-hosts-behind-nat-firewall/#post-2616</link>
                        <pubDate>Thu, 17 Jul 2025 14:11:52 +0000</pubDate>
                        <description><![CDATA[Hello. Unfortunately, there is not a way to configure this within NRPE.]]></description>
                        <content:encoded><![CDATA[<p>Hello. Unfortunately, there is not a way to configure this within NRPE. </p>]]></content:encoded>
						                            <category domain="https://www.nagios.org/community/nagios-forum/">Nagios Core Services Platform</category>                        <dc:creator>rarafa</dc:creator>
                        <guid isPermaLink="true">https://www.nagios.org/community/nagios-forum/check-hosts-behind-nat-firewall/#post-2616</guid>
                    </item>
				                    <item>
                        <title>RE: Check hosts behind NAT/firewall</title>
                        <link>https://www.nagios.org/community/nagios-forum/check-hosts-behind-nat-firewall/#post-2615</link>
                        <pubDate>Wed, 16 Jul 2025 07:12:24 +0000</pubDate>
                        <description><![CDATA[Hi,
 
I use NRPE to execute some scripts for checking NFS mountpoints, firewall rules, etc on remote servers, but in this question, some servers are behind a NAT, so by default, from an pu...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p> </p>
<p>I use NRPE to execute some scripts for checking NFS mountpoints, firewall rules, etc on remote servers, but in this question, some servers are behind a NAT, so by default, from an public IP address I can't access to that servers. What I do is have some iptables rules on the server that acts as "NAT/router" (public and private IP) and, then, that server redirects connection to the privates servers. With this configuration, if my Nagios servers executes a NRPE to that private servers, my NAT/router server would need to redirect each 5666 received connection to each 5666 port for each private server... With this scenario, I suppose it would be easier if NAT server redirect using a port range but if I have 1000 servers, I would need to configure 1000 redirection ports. So, if I want to avoid that and check directly from a Nagios with public IP to "n" privates nodes, is there any way?</p>
<p> </p>
<p>Thanks.</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.nagios.org/community/nagios-forum/">Nagios Core Services Platform</category>                        <dc:creator>druizm</dc:creator>
                        <guid isPermaLink="true">https://www.nagios.org/community/nagios-forum/check-hosts-behind-nat-firewall/#post-2615</guid>
                    </item>
				                    <item>
                        <title>RE: Check hosts behind NAT/firewall</title>
                        <link>https://www.nagios.org/community/nagios-forum/check-hosts-behind-nat-firewall/#post-2611</link>
                        <pubDate>Tue, 15 Jul 2025 14:28:17 +0000</pubDate>
                        <description><![CDATA[Using NRPE would work good for this.
By default, the NRPE daemon listens on TCP port 5666 so make sure that port is open.Also, if you use a dedicated daemon for NRPE, then you need to add t...]]></description>
                        <content:encoded><![CDATA[<p><span style="color: #ffffff">Using NRPE would work good for this.</span></p>
<p><span style="color: #ffffff">By default, the NRPE daemon listens on TCP port 5666 so make sure that port is open.</span><br /><br /><span style="color: #ffffff">Also, if you use a dedicated daemon for NRPE, then you need to add the Nagios server's IP address to the nrpe.cfg configuration file /usr/local/nagios/etc/nrpe.cfg.</span></p>
<div style="border: 0px;font-style: normal;font-weight: 400;font-size: 11pt;line-height: inherit;font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;margin: 0px;padding: 0px;vertical-align: baseline;color: #000000;letter-spacing: normal;text-align: start;text-indent: 0px;text-transform: none"> </div>
<div style="border: 0px;font-style: normal;font-weight: 400;font-size: 11pt;line-height: inherit;font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;margin: 0px;padding: 0px;vertical-align: baseline;color: #000000;letter-spacing: normal;text-align: start;text-indent: 0px;text-transform: none"><span style="color: #ffffff">See more details here</span></div>
<div style="border: 0px;font-style: normal;font-weight: 400;font-size: 11pt;line-height: inherit;font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;margin: 0px;padding: 0px;vertical-align: baseline;color: #000000;letter-spacing: normal;text-align: start;text-indent: 0px;text-transform: none"> </div>
<div style="border: 0px;font-style: normal;font-weight: 400;font-size: 11pt;line-height: inherit;font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;margin: 0px;padding: 0px;vertical-align: baseline;color: #000000;letter-spacing: normal;text-align: start;text-indent: 0px;text-transform: none"><span style="color: #ffffff"><a style="border: 0px;font: inherit;margin: 0px;padding: 0px;vertical-align: baseline;color: #ffffff" href="https://support.nagios.com/kb/article/nrpe-check_nrpe-error-could-not-complete-ssl-handshake-615.html">https://support.nagios.com/kb/article/nrpe-check_nrpe-error-could-not-complete-ssl-handshake-615.html</a></span></div>
<div style="border: 0px;font-style: normal;font-weight: 400;font-size: 11pt;line-height: inherit;font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;margin: 0px;padding: 0px;vertical-align: baseline;color: #000000;letter-spacing: normal;text-align: start;text-indent: 0px;text-transform: none"> </div>
<div style="border: 0px;font-style: normal;font-weight: 400;font-size: 11pt;line-height: inherit;font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;margin: 0px;padding: 0px;vertical-align: baseline;color: #000000;letter-spacing: normal;text-align: start;text-indent: 0px;text-transform: none"><span style="color: #ffffff">Also, this forum is for CSP.</span></div>
<div> </div>
<div style="border: 0px;font-style: normal;font-weight: 400;font-size: 11pt;line-height: inherit;font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;margin: 0px;padding: 0px;vertical-align: baseline;color: #000000;letter-spacing: normal;text-align: start;text-indent: 0px;text-transform: none"><span style="color: #ffffff">For any core related issue/questions you would post to this forum - <a id="LPlnk140605" style="border: 0px;font: inherit;margin: 0px;padding: 0px;vertical-align: baseline;color: #ffffff" href="https://support.nagios.com/forum/viewforum.php?f=7">https://support.nagios.com/forum/viewforum.php?f=7</a></span></div>
<div> </div>
<p><span style="color: #ffffff">Thank you,</span></p>
<p><span style="color: #ffffff">Nagios Support </span></p>]]></content:encoded>
						                            <category domain="https://www.nagios.org/community/nagios-forum/">Nagios Core Services Platform</category>                        <dc:creator>rarafa</dc:creator>
                        <guid isPermaLink="true">https://www.nagios.org/community/nagios-forum/check-hosts-behind-nat-firewall/#post-2611</guid>
                    </item>
				                    <item>
                        <title>Check hosts behind NAT/firewall</title>
                        <link>https://www.nagios.org/community/nagios-forum/check-hosts-behind-nat-firewall/#post-2610</link>
                        <pubDate>Tue, 15 Jul 2025 06:32:38 +0000</pubDate>
                        <description><![CDATA[Hello,
I have configured a Nagios Core 4.4.14 in a Rocky Linux 8.10 host. All configuration seems to be running perfectly but, now, I need to check some hosts that are behind a NAT/firewall...]]></description>
                        <content:encoded><![CDATA[<p>Hello,</p>
<p>I have configured a Nagios Core 4.4.14 in a Rocky Linux 8.10 host. All configuration seems to be running perfectly but, now, I need to check some hosts that are behind a NAT/firewall host (this host is already monitored and checked from my server). That hosts have, also, some services (disk, load, check some NFS folders) that should be checked. If a use NRPE, I suppose I need to open some port s in the NAT/firewall to check all servers (one port to each host), so my question is if there is a better configuration to check that servers and their services.</p>
<p>Thanks.</p>]]></content:encoded>
						                            <category domain="https://www.nagios.org/community/nagios-forum/">Nagios Core Services Platform</category>                        <dc:creator>druizm</dc:creator>
                        <guid isPermaLink="true">https://www.nagios.org/community/nagios-forum/check-hosts-behind-nat-firewall/#post-2610</guid>
                    </item>
							        </channel>
        </rss>
		