All hosting platforms have settings to resist DoS. To sum up, there are basically several types:
Turn off unnecessary
services
Limit the number of Syn semi-connections open at the same time
Shorten the time out time of Syn semi-connection
Update
system
network settings
Network equipment can be considered from
firewalls
and
routers
. These two devices are the interface devices to the outside world. When setting up anti-DDoS, pay attention to how much efficiency is sacrificed and whether it is worth it for you.
1.
Firewall
Forbid
the access of non-open services to the host Limit the maximum number of SYN connections opened at the same time Limit the access of a specific IP address
Enable
the anti-DDoS attribute of the firewall to strictly limit the external access of the server that is open to the outside The fifth item is mainly to prevent your own
server
being accessed Use it as a tool to harm people.
2.
Router