Community discussions

MikroTik App
 
snackers
just joined
Topic Author
Posts: 5
Joined: Mon Jul 23, 2007 1:04 pm

Firewall - IP Blocking

Mon Jul 23, 2007 1:07 pm

Hi Dear reader,

how do i block ip of mikrotik firewall?

for example : 66.44.33.22 this ip my servers attack, how do i block this ip ?

thanks for answers.
regards
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6703
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Firewall - IP Blocking

Mon Jul 23, 2007 3:08 pm

ip firewall filter add chain=input src-address=x.x.x.x action=drop
chain=input is used, as it is responsible for traffic destined directly to the router.
 
cmacneill
Member Candidate
Member Candidate
Posts: 293
Joined: Sun Apr 01, 2007 10:51 pm
Location: Christchurch, New Zealand

Re: Firewall - IP Blocking

Fri Jul 27, 2007 4:26 am

You probably want to add the same rule to the forward chain too, this will also stop the attack from going through your router to devices behind it.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6703
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Firewall - IP Blocking

Fri Jul 27, 2007 8:58 am