【已解答】宝塔面板防火墙里端口规则没有了不显示出来
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.5宝塔DDD
系统版本:
宝塔面板防火墙里端口规则没有了不显示出来
问题描述:
宝塔面板防火墙里端口规则没有了不显示出来
相关截图(日志、错误):
宝塔面板防火墙里端口规则没有了不显示出来请输入命令编号:
===============================================
已取消!
root@YY888:~# ^C[200~firewall-cmd --reload~firewall-cmd --reload
root@YY888:~# firewall-cmd --reload
-bash: firewall-cmd: command not found
root@YY888:~# /etc/firewalld/zones/public.xml
-bash: /etc/firewalld/zones/public.xml: No such file or directory
root@YY888:~# firewall-cmd --reload
-bash: firewall-cmd: command not found
root@YY888:~# firewall-cmd --permanent --add-rich-rule
-bash: firewall-cmd: command not found
root@YY888:~# firewall-cmd --zone=public --add-port=8080/tcp --permanent
-bash: firewall-cmd: command not found
root@YY888:~# firewall-cmd --reload
-bash: firewall-cmd: command not found
root@YY888:~# firewall-cmd --list-all
-bash: firewall-cmd: command not found
root@YY888:~#
debian系统防火墙默认是ufw
ufw status可以查看规则
ufw allow 8080 是放行端口的命令
页:
[1]