1)查看防火墙状态 查看防火墙状态: /etc/init.d/iptables status 暂时关闭防火墙: /etc/init.d/iptables stop 重启防火墙: /etc/init.d/iptables restart 启动防火墙: /etc/init.d/iptables star Read More
posted @ 2018-03-13 15:54 AllenClare Views(3242) Comments(0) Diggs(0) Edit
Linux默认是允许Ping响应的,系统是否允许Ping由2个因素决定的:A、内核参数,B、防火墙,需要2个因素同时允许才能允许Ping,2个因素有任意一个禁Ping就无法Ping。 一、通过修改配置文件实现: 具体的配置方法如下: 1、设置临时允许或禁止ping: 1).临时允许ping的命令为: Read More
posted @ 2018-03-13 14:05 AllenClare Views(231) Comments(0) Diggs(0) Edit