Community discussions

MikroTik App
 
netboyzin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 74
Joined: Thu Mar 21, 2013 3:42 pm

ROS Code for blocking ICMP

Wed Sep 17, 2014 9:12 am

Hi

Can anybody help me with the ros code to block all ICMP requests from internal network to Internet , except only one destination in Internet ( for example 4.2.2.2 ) to be allowed .

Abhishek
 
User avatar
cdiedrich
Forum Veteran
Forum Veteran
Posts: 997
Joined: Thu Feb 13, 2014 2:03 pm
Location: Basel, Switzerland // Bremen, Germany
Contact:

Re: ROS Code for blocking ICMP

Wed Sep 17, 2014 9:17 am

ros code

/ip firewall filter
add action=drop chain=forward dst-address=!4.2.2.2 protocol=icmp src-address=192.168.88.0/24
-Chris
 
netboyzin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 74
Joined: Thu Mar 21, 2013 3:42 pm

Re: ROS Code for blocking ICMP

Wed Sep 17, 2014 10:24 am

Thanks.

Abhishek