toplek
1
HI,
I use below command in order to add mangle rule
ip firewall mangle add chain=prerouting action=mark-routing new-routing-mark=blocking passthrough=yes src-a
ddress=87.54.124.249
working perfect 
The question is how to remove the rule using src-address?
I was trying below command but do not want to work:
ip firewall mangle remove where src-address=87.54.124.249
fewi
2
/ip firewall mangle remove [/ip firewall mangle find src-address=87.54.124.249]
toplek
3
it make sens, executing correctly but not removing from mangle
fewi
4
Sorry, this gets me every time. You have to quote the IP address.
[admin@MikroTik] /ip firewall mangle> print where src-address=1.1.1.1
Flags: X - disabled, I - invalid, D - dynamic
[admin@MikroTik] /ip firewall mangle> print where src-address="1.1.1.1"
Flags: X - disabled, I - invalid, D - dynamic
6 chain=forward action=change-ttl new-ttl=set:1 src-address=1.1.1.1
[admin@MikroTik] /ip firewall mangle> /ip firewall mangle remove [/ip firewall mangle find src-address="1.1.1.1"]
[admin@MikroTik] /ip firewall mangle> print where src-address="1.1.1.1"
Flags: X - disabled, I - invalid, D - dynamic
[admin@MikroTik] /ip firewall mangle>
So the below works:
/ip firewall mangle remove [/ip firewall mangle find src-address="87.54.124.249"]
toplek
5
Big thanks, it works very well !!! 