Web Site A(i)

ubuntu server ping응답 안되도록

vhrms 2017. 12. 14. 03:53
반응형



123@123:/var/www/html/123$ sudo nano /etc/ufw/before.rules 


# ok icmp codes for INPUT

-A ufw-before-input -p icmp --icmp-type destination-unreachable -j DROP  

-A ufw-before-input -p icmp --icmp-type source-quench -j DROP  

-A ufw-before-input -p icmp --icmp-type time-exceeded -j DROP  

-A ufw-before-input -p icmp --icmp-type parameter-problem -j DROP  

-A ufw-before-input -p icmp --icmp-type echo-request -j DROP