小编Ric*_*ard的帖子

Centos 7 中的 80 端口使用 firewalld 服务关闭

我正在使用 Centos 7,并尝试打开端口 80 和 443。

按照 centos 7 - open firewall port , RHEL7: How to get started with Firewalld , How to open http port 80 on Redhat 7 Linux using firewall-cmd和其他一些说明,我得到了以下内容:

[ricardo@m42srv02 ~]$ firewall-cmd --list-all
  public (default, active)
  interfaces: enp0s3
  sources: 0.0.0.0/0
  services: dhcpv6-client http https ssh
  ports:
  masquerade: no
  forward-ports:
  icmp-blocks:
  rich rules:

[ricardo@m42srv02 ~]$
Run Code Online (Sandbox Code Playgroud)

即使我添加端口 80/tcp 和 443/tcp 而不是添加服务,结果也是一样的,来自其他机器:

[root@m42srv01 ~]# nmap -T4 -sV -p 1-444 192.168.1.12

Starting Nmap 5.51 ( http://nmap.org ) at …
Run Code Online (Sandbox Code Playgroud)

linux firewall centos7

3
推荐指数
1
解决办法
6396
查看次数

标签 统计

centos7 ×1

firewall ×1

linux ×1