DDoS Detection and Blocking

MikroTikRouterOS RB450G
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

DDoS Detection and Blocking

文章 yehlu »

https://wiki.mikrotik.com/wiki/DDoS_Det ... d_Blocking

代碼: 選擇全部

/ip firewall filter
add chain=forward connection-state=new action=jump jump-target=detect-ddos

/ip firewall filter
add chain=detect-ddos dst-limit=32,32,src-and-dst-addresses/10s action=return
add chain=detect-ddos src-address=192.168.0.1 action=return

/ip firewall filter
add chain=detect-ddos action=add-dst-to-address-list address-list=ddosed address-list-timeout=10m
add chain=detect-ddos action=add-src-to-address-list address-list=ddoser address-list-timeout=10m

/ip firewall filter
add chain=forward connection-state=new src-address-list=ddoser dst-address-list=ddosed action=drop
回覆文章

回到「RouterOS」