Sign inSign up

allenjsomb/udplb

By allenjsomb

Updated almost 4 years ago

UDP data forwarder and load balancer.

Image
0

290

allenjsomb/udplb repository overview

udplb

This container provides a UDP listener that can be configured to forward UDP packets to other destinations.
It supports only one way traffic.

configuration

The service requires a config file in the following format:

[server]
0.0.0.0:5555
[copy]
127.0.0.1:1234
127.0.0.1:1235
[balance]
127.0.0.1:1236
127.0.0.1:1237
abc.somehost.com:7890

This [server] section tells udplb to listen on one or all (0.0.0.0) interfaces port 5555.
The [copy] section defines forwarding rules (i.e. send all messages) to both 127.0.0.1:1234 and 127.0.0.1:1235.
The [balance] section defines the round robin destinations that messages will be forwarded to.

running

In this example a config.ini is in the current directory and mounted to /config.ini in the container.
docker run -it --rm -v $(pwd)/config.ini:/config.ini allenjsomb/udplb /config.ini

repo

https://bitbucket.org/jimmyallen/udplb/src/main/

Tag summary

Content type

Image

Digest

sha256:5dd0dc586

Size

5.7 MB

Last updated

almost 4 years ago

docker pull allenjsomb/udplb