Answer the question
In order to leave comments, you need to log in
Blocking IP on one of the interfaces?
I have a Mikrotik router. 2 providers are connected to it: provider A (ISP1) and provider B (ISP2). It is necessary to block IP on provider B so that the specified IP does not ping through this interface. And on the ISP1 interface, the ping was fine.
Answer the question
In order to leave comments, you need to log in
/ip firewall filter add chain=input protocol=icmp action=drop in-interface=ISP2 \
src-address=11.22.33.44
/ip firewall filter add chain=input protocol=icmp action=drop in-interface=ISP2 \
src-address-list=DENY-PING
/ip firewall address-list add list=DENY-PING address=11.22.33.44
/ip firewall filter print
...
1 ;;; Deny ping
chain=input protocol=icmp action=drop in-interface=ISP2 src-address-list=DENY-PING
2 ;;; Allow ping
chain=input action=accept protocol=icmp
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question