<span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); ">Hi all<br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
                  I have a question on how NRPE works. I have installed Nagios on one server1 and Nrpe on server2. they are on the same subnet. </span><div><font class="Apple-style-span" color="#333333" face="arial, helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>
</span></font></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); ">the way I execute the commands on the server2 is  Server1:nrpe!commandonServer2<br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">It works fine now. both servers are on the same subnet. But if I would like to monitor a server outside the firewall, Is there particular port that needs to be opened or how does that communication work?<br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Regards</span></div>