for IP in ${IPLIST}
do
echo ${IP}
sudo firewall-cmd --direct --add-rule ipv4 filter OUTPUT 0 -p all -d ${IP} -j REJECT
done