How you would open up http and https, or specific ports for your box:
$ sudo firewall-cmd --permanent --zone=public --add-service=http $ sudo firewall-cmd --permanent --zone=public --add-service=httpsRestart the firewall:
$ sudo systemctl restart firewalld.serviceOr on specific ports:
$ sudo firewall-cmd --permanent --zone=public --add-port=9393/tcpRestart the firewall:
$ sudo systemctl restart firewalld.service
No comments:
Post a Comment