Page 1 of 1

blocking pings

Posted: Fri Mar 04, 2005 11:58 am
by sarenos
Anybody knows how can I drop pings from outside my MT to inside ? so I want to do pings from inside MT to outside.

i.e. my eth0 ip address is 192.168.0.54 and my gateway is 192.168.0.1
I want to ping from 192.168.0.54 to 192.168.0.1 but I want disable ping from 192.168.0.1 to 192.168.0.54

Posted: Fri Mar 04, 2005 2:24 pm
by Roman
as simple as that 8)
/ip firewall rule input add src-address=192.168.0.1/32 protocol=icmp icmp-options=8 action=drop