firewalld
This is an old revision of the document!
LIST ALL ZONES:
[root@ system]# firewall-cmd --get-zones block dmz drop external home internal public trusted work
QUERY DEFAULT ZONE:
[root@ system]# firewall-cmd --get-default-zone public
STANDARD PORTS NEEDED:
[root@ system]# firewall-cmd --zone=public --add-service=ssh --permanent success [root@ system]# firewall-cmd --zone=public --add-service=http --permanent success [root@ system]# firewall-cmd --zone=public --add-service=https --permanent success [root@ system]# firewall-cmd --zone=public --add-service=https --permanent success
TEAMPEAK STUFF / Custom Ports and Protocols:
[root@ system]# firewalld-cmd --permanent --zone=public --add-port=9987/udp success [root@ system]# firewalld-cmd --permanent --zone=public --add-port=30033/tcp success [root@ system]# firewalld-cmd --permanent --zone=public --add-port=10011/tcp success
firewalld.1447589317.txt.gz · Last modified: 2021/04/24 07:38 (external edit)
