I have a “DO Managed Load Balancer” in front of my droplets, and want to only allow certain IPs to access my website. I saw DO’s “Managed Firewall” feature that can be created and applied to a Droplet. But since the service is accessed via the LB first, set a Firewall rule for the Droplet doesn’t really help.

So I am wondering is there a way that I can create a “DO Managed Firewall” and apply it to my Load Balancer? or maybe there is but I might have missed it?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

you could set some allow/disallow rules on IP ranges through Google’s Cloud Armor Security Policies (Use case / How to) by setting the target on the backend service of an HTTP load balancer

  • thank you for the answer. I will try Google’s Cloud Armor. But I guess it also means DigitalOcean doesn’t have this function :(

Submit an Answer