小编use*_*751的帖子

Fedora 的 firewall-cmd 显示可用服务多于配置

所以是的,配置 Fedora 20 的 firewall-cmd。试图将入站流量限制为仅 http、https 和 ssh。但是,机器仍然响应 ping,并且 --get-service 命令显示了我不使用的东西的清单。

为什么会断线?

--get-service 命令是否准确,或者 --list-services 命令是否准确?

如果是后者,为什么ping通?

[root@build-node httpd]# firewall-cmd --get-service
amanda-client bacula bacula-client dhcp dhcpv6 dhcpv6-client dns ftp high-availability http https imaps ipp ipp-client ipsec kerberos kpasswd ldap ldaps libvirt libvirt-tls mdns mountd ms-wbt mysql nfs ntp openvpn pmcd pmproxy pmwebapi pmwebapis pop3s postgresql proxy-dhcp radius rpc-bind samba samba-client smtp ssh telnet tftp tftp-client transmission-client vnc-server wbem-https
[root@build-node httpd]# firewall-cmd --get-active-zone
public
  interfaces: eth0 eth1 eth2
[root@build-node httpd]# firewall-cmd …
Run Code Online (Sandbox Code Playgroud)

fedora firewalld fedora-20

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

标签 统计

fedora ×1

fedora-20 ×1

firewalld ×1