Extremly small tool for UDP redirect

A small tool to redirect UDP packets to another destination. Packets received from a specified destination are sent back to a remembered sender.

I used it to redirect OpenVPN UDP traffic to hide my real IP

It seems to me that this is the easiest way to forward traffic because the udp_redirect binary has much easier usage, does not have the requirement for a special fifo file, does not require pipes, does not require other software, and most importantly, it works!

Build: gcc -o udp_redirect udp_redirect.c


./udp_redirect our-ip our-port send-to-ip send-to-port


./udp_redirect 53 53