debian10上面安装一个zabbix-agent,端口是10050,zabbix-server的ip是192.168.1.2,因此需要在debian10主机上添加防火墙才可以
~]# ufw allow from 192.168.1.2/32 to any port 10050