Some one trying to ssh my Router, how can i block ip in Mikrotik

Hello,
don’t allow access from external by firewall rule. If access from external is necessary, configure VPN and login first before accessing the router.
BR,
Michael
First, close port 22 (SSH). You don’t want to have that opened!
Second, if SSH is really required you want to filter IP addresses (though you don’t want to open port 22):
add action=dst-nat chain=dstnat dst-port=22 in-interface-list=WAN log=yes protocol=tcp src-address=[only allowed address(es)] to-addresses=[internal IP] to-ports=22
Did I mention you dont want to open the SSH port!? Better, don’t open any port!
Without seeing your complete configuration, advice on your setup is difficult to provide.
/export hide-sensitive file=anynameyouwish
Suffice to say the best and safe way to access your router (to manage it) from external sources is via VPN.