Linux 查看服务器防火墙拦截端口

来源:互联网 发布:windows正版多少钱 编辑:程序博客网 时间:2024/05/24 05:55
查看已开放端口 /etc/init.d/iptables status  /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT #开启80端口 /etc/rc.d/init.d/iptables save #保存配置 /etc/rc.d/init.d/iptables restart #重启服务
阅读全文
0 0