Sign inSign up

jeffkolb/udp-proxy

By jeffkolb

Updated almost 8 years ago

A simple single-port UDP forwarder

Image
1

714

jeffkolb/udp-proxy repository overview

The port you open for the container must match your listen port!

Launch thusly:

sudo docker run -d -p LOCAL_LISTEN_PORT:CONTAINER_LISTEN_PORT/udp \
-e UDP_LISTEN_PORT=LOCAL_LISTEN_PORT \
-e UDP_TARGET_HOST=TARGET_HOSTNAME_OR_IP \
-e UDP_TARGET_PORT=TARGET_PORT \
jeffkolb/udp-proxy

This, for example, would forward traffic on port 12201 to 10.55.1.27:12222

sudo docker run -d -p 12201:12201/udp \
-e UDP_LISTEN_PORT=12201 \
-e UDP_TARGET_HOST=10.55.1.27 \
-e UDP_TARGET_PORT=12222 \
jeffkolb/udp-proxy

Tag summary

Content type

Image

Digest

Size

4 MB

Last updated

almost 8 years ago

docker pull jeffkolb/udp-proxy