deny icmp
How to deny icmp to and from my server..I use below command in my iptables .. but not working:
iptables -A INPUT -p icmp --icmp-type 8 -s 0/0 -d 192.168.1.123 -m state --state NEW,ESTABLISHED,RELATED -j REJECT
iptables -A OUTPUT -p icmp --icmp-type 0 -s 192.168.1.123 -d 0/0 -m stat
iptables -A OUTPUT -p icmp --icmp-type 0 -s 192.168.1.123 -d 0/0 -m state --state ESTABLISHED,RELATED -j REJECT
please help
thanks & regards
|