I am looking for solution that can proxy my udp packets. I have one client sending udp packets to a server. Connection between them is very bad and I get lot of packet loss. One
I also wrote a Python script for this one day. This one goes both ways:
https://github.com/EtiennePerot/misc-scripts/blob/master/udp-relay.py
Usage: udp-relay.py localPort:remoteHost:remotePort
Then, point your UDP application to localhost:localPort
and all packets will bounce to remoteHost:remotePort
.
All packets sent back from remoteHost:remotePort
will be bounced back to the application, assuming it is listening on the port it just sent packets from.