1 頁 (共 1 頁)

DDoS Detection and Blocking

發表於 : 2018-08-25 23:02:06
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