- firewall-cmd --zone = public --add-port = 4400-4600 / udp --permanen (specified port range is 4400-4600 through firewall) Warning: ALREADY_ENABLED: 3306: tcp (indicating that port 3306 passed successfully)
- firewall-cmd --zone = public --remove-port = 80 / tcp --permanent (close the specified port)
- firewall-cmd --zone = public --list-ports (view the ports passed)
Linux allows opening through firewall ports
Guess you like
Origin blog.csdn.net/GYJ_love/article/details/105429648
Recommended
Ranking