I am currently buying old PCs that work properly and turning them into Ubuntu (16.04) servers. they work really good, but I was wondering how to set up DDOS protection for them.
-
2It is very hard (impossible) to setup DDOS protection by your own. Regarding the question about Website company - this is off-topic – Yaron Aug 08 '17 at 08:41
-
Please check this topic. – pa4080 Aug 08 '17 at 08:48
-
Cloudflare is your best option. Free, and easy to setup – user227495 Aug 15 '17 at 00:54
2 Answers
DDoS is a very tricky attack to prepare for and or withstand. If your website isn't gonna scale that much, I doubt anyone/anyteam will be interested in investing in the effort and time attacking your platform.
However if your site is gonna grow to the level bringing it down might be fun for some bad person or body, you might wanna take these suggestions:
Use a third-party platform: A very common one is CloudFlare, but they're many other options out there. Ride with the one you love and suits your needs best.
Choose a VPS provider with DDoS mitigation strategies in place. DigitalOcean is one of them.
If you run your own server farms or datacenters, you might wanna invest in hardwares designed to process traffic on the fly to sideline the bad ones. Softwares can do it, however hardwares designed for the task happen to be faster. Easier said than done, but can significantly reduce the hit in times of attack.
If you ever grow to be big as Google, you might not worry about DDoS that much, as your infrastructure will be probably enough to swallow the total internet traffic a few folds over.

- 1,888
I'd suggest you to buy the servers from verified VPS sellers as you'd be able to expand your storage space and scale them as per your need. Amazon is one such option.
Just in case if you still want to use your old PCs as your server then putting up a firewall is your best option. But that won't guarantee a 100% protection as the security depends on a large number of factors including, but not limited to, your bandwidth, vulnerabilities in the software you used to host the website, coding your website, and a lot of other stuffs.

- 1,151
- 1
- 16
- 31
-
Well i know how to code websites, but i am planning to host the website off my pc, and the firewall and lots of other stuff can you be more specific. At least send me some tutorials how to do them on a ubuntu server ran off a pc. Thank you. I also know how to keep it on 24/7 for the pc. – Micah Dragoo Aug 08 '17 at 08:56