This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I am running Debian on a VPS that acts as a firewall for my home server and have set up UFW to forward certain ports for a service I run.
Said service is experiencing a DDoS attack and I want to try to mitigate it by limiting the number of connections allowed per OP per time. How is this done?
I currently have in /etc/ufw/before.rules:
# NAT table rules *nat
:PREROUTING ACCEPT [0:0] -A PREROUTING -i eth0 -p tcp --dport 12:34 -j DNAT --to-destination 1.2.3.4
:POSTROUTING ACCEPT [0:0] -A POSTROUTING -s 1.2.3.0/24 -o eth0 -j MASQUERADE
COMMIT # End NAT table rules
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/linuxquesti...