linux如何开放防火墙8080端口.docxVIP

  • 5
  • 0
  • 约1.57千字
  • 约 3页
  • 2020-08-22 发布于广东
  • 举报
第 第 PAGE 1 页 共 NUMPAGES 1 页 linux如何开放防火墙8080端口   有什么方法可以开放防火墙的8080端口呢?小编来教你!下面由小编给你做出详细的linux开放防火墙8080端口方法介绍!希望对你有帮助!   linux开放防火墙8080端口方法一:   1.修改文件/etc/sysconfig/iptables   [root@bogon ~]# cd /etc/sysconfig/   [root@bogon sysconfig]# vi iptables   在文件中加入如下内容,目的是对外界开放8080端口   -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT   2.将iptables服务重启。   [root@bogon sysconfig]# service iptables restart   Flushing firewall rules: [ OK ]   Setting chains to policy ACCEPT: filter [ OK ]   Unloading iptables modules: [ OK ]   Applyi

文档评论(0)

1亿VIP精品文档

相关文档