Question

Load Balancer redirect specific port to specific droplet

Not sure this is possible, but I am trying to keep a static IP that listens for traffic on a range of ports. When the data hits one of these ports a rule will forward the traffic to a specific droplet. Is there a way to do this, or is the only way to do this is to set up a proxy droplet to forward the traffic? The traffic can be high bandwidth as it is video feed. Thanks! :)


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.

Hello,

With a Managed Load Balancer you could specify a pool of Droplets to which the traffic should be forwarded based on a specific port, but I don’t think that there is a way to specify which Droplet exactly the traffic gets forwarded to based on the port.

But this sounds like a great idea, sounds like it’d be super useful!

The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

https://ideas.digitalocean.com/

Alternatively, you could use HAProxy to achieve this. For more information on how to get started with HAProxy, you could take a look at this tutorial here:

https://www.digitalocean.com/community/tutorials/an-introduction-to-haproxy-and-load-balancing-concepts

Hope that this helps! Regards, Bobby