Community discussions

MikroTik App
 
bki
just joined
Topic Author
Posts: 1
Joined: Sat Apr 16, 2022 3:06 pm

Command via ssh

Sat Apr 16, 2022 3:25 pm

Hi guys

I am using Fail2Ban on linux, working pretty good.
Founding an IP, it is simple to blacklist it, but the existing connection is not removed.

On console works
/ip firewall connection remove [find where src-address~"8.8.8.8"]

On linux, via ssh does nothing
/usr/bin/ssh -l RemUser -p22 -i /root/.ssh/id_rsa 11.22.33.44 ":ip firewall connection remove [find where src-address~"8.8.8.8"]"

Any idea?

Who is online

Users browsing this forum: rogerioqueiroz and 21 guests