Question

Is it possible to apply Firewall rules to a Load Balancer?

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?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey @bingusa1122,

I don’t believe that this is yet possible but it sounds like it’d be super useful!

It looks like someone has had the same idea before and has posted it on our Product Ideas board. The best thing to do would be to head over and add your vote to it, as well as adding any additional information in the comments for exactly what you’d like to see implemented!

https://ideas.digitalocean.com/ideas/DO-I-60

Hope that helps! - Bobby.