MewBin Logo Path RateLimit UDP
Made By RebornXV New UDP ratelimit iptables/ Path patchV4

sudo iptables -A INPUT -p udp -m limit --limit 10/s --limit-burst 20 -j ACCEPT

sudo iptables -A INPUT -p udp --dport 1194 -m limit --limit 10/s --limit-burst 20 -j ACCEPT

sudo iptables -A INPUT -p udp -m limit --limit 10/s --limit-burst 20 -j ACCEPT
sudo iptables -A INPUT -p udp -j DROP

sudo iptables -A INPUT -p udp -m limit --limit 10/s --limit-burst 20 -j ACCEPT
sudo iptables -A INPUT -p udp -j LOG --log-prefix "UDP Limit Exceeded: "
sudo iptables -A INPUT -p udp -j DROP

sudo iptables-save > /etc/iptables/rules.v4

sudo service iptables save

# Accept up to 10 packets per second with a burst of 20 for all UDP traffic
sudo iptables -A INPUT -p udp -m limit --limit 10/s --limit-burst 20 -j ACCEPT

# Accept legitimate UDP packets (from established connections, etc.)
sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

# Log excessive UDP traffic (for analysis)
sudo iptables -A INPUT -p udp -j LOG --log-prefix "Excess UDP Traffic: "

# Drop any other UDP packets (rate-limited and excess)
sudo iptables -A INPUT -p udp -j DROP
---------------------------------------------------------------------------------------
tables are up to date an work on paths only sadly
Logo
Path RateLimit UDP
Created: 2025-02-11 05:36:56
Author: RebornXV
Views: 104
Comments: 0
0   0
New (N) Raw (R)

Comments

admin 6 months ago
+ rep by admins i recomend using these for protections
Please note that all posted information is publicly available and must follow our TOS.