Community discussions

MikroTik App
 
sarenos
newbie
Topic Author
Posts: 42
Joined: Fri Feb 11, 2005 7:36 pm

blocking pings

Fri Mar 04, 2005 11:58 am

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
 
User avatar
Roman
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Wed Oct 06, 2004 11:24 am

Fri Mar 04, 2005 2:24 pm

as simple as that 8)
/ip firewall rule input add src-address=192.168.0.1/32 protocol=icmp icmp-options=8 action=drop