Community discussions

MikroTik App
 
parinya1957
just joined
Topic Author
Posts: 24
Joined: Mon Mar 11, 2013 6:34 am
Location: Thailand

Detect spammer with Firewall Filter

Mon Aug 01, 2016 4:38 am

Dear Friend,

I need some help on checking incoming attached to my Mail server IP 192.168.100.100 on port 25,587. I would like to check incoming source address from outside MikroTik which will try to login my Mail Server and set limit like 30 times per hours and add this IP to Address list for drop packet.

I found some Firewall Rule from Web but when I try it not work. Would someone help me on this Firewall Filter rule?

My WAN is pope-out1 and my Mail Server IP is 192.168.100.100

Thanks in advance.


/ip firewall filter
add action=add-src-to-address-list address-list=spam-user \
    address-list-timeout=2w chain=forward connection-limit=30,32 dst-address=192.168.100.100 dst-port=\
    25,465,587 in-interface=pppoe-out1 limit=30,5 protocol=tcp

Who is online

Users browsing this forum: Bing [Bot], jh1, RobertsN, stef70 and 138 guests