-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update [Script-MikroTik] Preventing UDP Flood Attack.txt
- Loading branch information
1 parent
196a95e
commit 8918998
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
/ip firewall raw | ||
add action=drop chain=prerouting comment="Preventing UDP Flood Attack" dst-port=53 in-interface=pppoe-out1 protocol=udp | ||
add action=accept chain=prerouting dst-port=53 in-interface=!pppoe-out1 limit=100,5:packet protocol=udp | ||
add action=drop chain=prerouting dst-port=53 in-interface=!pppoe-out1 protocol=udp | ||
add action=drop chain=prerouting dst-port=53 in-interface=!pppoe-out1 protocol=udp | ||
|
||
|
||
Go to IP > DNS and disable "Allow Remote Requests" |