paolobarbolini / do-firewall-updater

Keep your whitelisted ip address up to date in the digitalocean firewall
MIT License
7 stars 1 forks source link

Less of an issue... more of a how can I... #1

Closed jacksnodgrass closed 6 years ago

jacksnodgrass commented 6 years ago

Is there an official DigitialOcean Firewall API doc?

Instead of whitelisting an IP, I would like to be able to blacklist an ip and remove a blacklisted ip.

Is that documented anywhere?

paolobarbolini commented 6 years ago

They do have firewall api documentation, but they don't support blacklisting ips. If you have to blacklist bots or things like that from your website I suggest using Cloudflare, which has both whitelist and blacklist capabilities.

jacksnodgrass commented 6 years ago

Ok, thanks. I don't think I need cloudflare level stuff.. just thought it would be nice to use an api to block a few ip addresses. I can use firewall-cmd with linux but was hoping to offload that to DO.

Thanks for the info.