iptables

1、拒绝所有主机ping当前的主机。 [root@centos8mini ~]# iptables -A INPUT -p icmp --icmp-type 8 -j REJECT 2、本机能够访问别的机器的HTTP服务,但是别的机器无法访问本机。 [root@centos8mini ~]# ipt
posted @ 2020-09-19 19:16  肖豪  阅读(119)  评论(0编辑  收藏  举报