LuoSong
LuoSong
Published on 2024-04-28 / 51 Visits
0
0

ufw设置主机禁ping

ufw设置主机禁ping

修改ufw文件

-A ufw-before-input -p icmp --icmp-type echo-request -j (ACCEPT->DROP) #ipv4

-A ufw6-before-input -p icmpv6 --icmpv6-type echo-request -j (ACCEPT->DROP) #ipv6

Comment