firewall-cmd

sudo firewall-cmd --permanent --zone=trusted --add-source=xxx.xxx.xxx.xxx/xx
sudo firewall-cmd --set-default-zone=block
sudo firewall-cmd --reload

Leave a Reply

Your email address will not be published. Required fields are marked *