Question

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

Posted September 4, 2020 104 views
Solutions

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

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.

Submit an Answer