EADST

Linux Add Port to the Firewall

1. Check current port

sudo firewall-cmd --list-all

2. Add port XXXX(8003) to the default public zone

sudo firewall-cmd --zone=public --add-port=8003/tcp --permanent

3. Reload the firewall to apply changes

sudo firewall-cmd --reload

4. Verify the added port

sudo firewall-cmd --list-all
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
站点统计

本站现有博文277篇,共被浏览511342

本站已经建立2099天!

热门文章
文章归档
回到顶部