Community discussions

MikroTik App
 
2021mkt
just joined
Topic Author
Posts: 2
Joined: Sat May 22, 2021 1:39 am

Attack Ddos

Sun May 23, 2021 7:23 pm

Hello,
we have a cloudcore mikrotik and We have server behind the mikrotik with the local ip address 192.168.1.200 and with a open port 4122 on udp, We are receiving connection attempts of many IP address with empty packets on udp protocol, We have tryed with firewall rules, but seems that doesnot work, The firewall rules are:

/ip firewall filter
add action=jump chain=forward connection-state=new jump-target=detect-ddos
add action=return chain=detect-ddos dst-limit=32,32,src-and-dst-addresses/10s
add action=add-dst-to-address-list address-list=ddosed address-list-timeout=10m chain=detect-ddos
add action=add-src-to-address-list address-list=ddoser address-list-timeout=10m chain=detect-ddos
add action=drop chain=forward connection-state=new dst-address-list=ddosed src-address-list=ddoser

and also:
add action=accept chain=input connection-limit=40,32 connection-state=new dst-port=4122 protocol=udp dst-address=192.168.1.200

Is there any rule wrong? please, Can you advise me other rules?

Thanks
Regards
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19318
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Attack Ddos

Tue May 25, 2021 1:22 am

Suggest you read and use this setup instead........

https://help.mikrotik.com/docs/pages/vi ... d=28606504

Who is online

Users browsing this forum: mszru, yosue111 and 28 guests