opensuse如何设置禁ping
opensuse吧
全部回复
仅看楼主
level 3
中场7号 楼主
可以在SuSEfirewall2中设置禁ping麽?还请大侠指教。
2013年03月07日 01点03分 1
level 11
可以
2013年03月07日 02点03分 2
level 11
/etc/sysconfig/SuSEfirewall2
## Type: string
#
# Which services should be accessible from 'trusted' hosts or nets?
#
# Define trusted hosts or networks (doesn't matter whether they are internal or
# external) and the services (tcp,udp,icmp) they are allowed to use. This can
# be used instead of FW_SERVICES_* for further access restriction. Please note
# that this is no replacement for authentication since IP addresses can be
# spoofed. Also note that trusted hosts/nets are not allowed to ping the
# firewall until you also permit icmp.
#
# Format: space separated list of network[,protocol[,port]]
# in case of icmp, port means the icmp type
#
# Example: "172.20.1.1 172.20.0.0/16 1.1.1.1,icmp 2.2.2.2,tcp,22"
#
FW_TRUSTED_NETS=""
2013年03月07日 02点03分 3
能说具体点么,比如给个具体的例子。
2013年03月07日 03点03分
回复 zc7h :[汗] 不是默认就禁止ping 了么
2013年03月07日 03点03分
不是啊,可以ping的通。
2013年03月07日 04点03分
level 3
中场7号 楼主
没有人知道麽?
2013年03月07日 06点03分 4
level 1
把 Yast -> System -> /etc/sysconfig Editor -> Network -> Firewall -> SuSEFirewall2 -> FW_ALLOW_PIN*** 的值设为 no 。
2013年03月11日 00点03分 5
谢谢哈,太感谢了![呵呵]
2013年03月11日 02点03分
1