simple udp proxy solution

前端 未结 4 1388
温柔的废话
温柔的废话 2021-02-04 07:47

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

4条回答
  •  执笔经年
    2021-02-04 08:35

    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.

提交回复
热议问题