Problem with Port 5666 for NRPE Nagios Plugin

Hello :slight_smile:
i have a problem with nagios plugin called NRPE for monitorng my LINUX SERVER. this plugin listen to port 5666..
and here’s my setup for now

INTERNET ==> ADSL MODEM ==Bridge==> MIKROTIK ==192.168.100.77==> LINUX SERVER

and the firewall setup for open port 5666

/ip firewall nat chain=dstnat action=dst-nat to-addresses=192.168.100.77 protocol=tcp 
     dst-address-list=public dst-port=5666

note : the public address list is update using script, and the script always delete the old IP, so in the public address list only have one IP Public.
the allow host on nrpe.cfg is already set
check_nrpe using localhost is working

and the problem is, everytime i use check_nrpe on my server (which is a dedicated server and have static IP Address) check NRPE will give me this error message

CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs for error messages.

any help will be appreciated. thank you

Did you also allow the port to the server in your firewall filter rules?

i did it with webmin..
Linux Firewall > Filter > INPUT > Accept If protocol is TCP and source and destination ports are 5666

Source port does not necessarily be 5666 and what I actually ment was the firewall on the MikroTik.

where should i set it ?? filter or mangle?

Filter