Checking routes to a hostON HOST
# ON HOST
sudo netstat -tulpn | grep LISTEN
sudo ufw status
sudo ufw show listening
sudo ufw allow proto tcp from 192.168.185.103 to any port 10050 comment "Zabbix"
sudo ufw reload
sudo service ufw restart
# ON CLIENT
nmap 192.168.15.212
nmap 192.168.15.212 -p10050
Code language: PHP (php)