udp2raw, udpspeeder, shadowsocks...

Everything about latency. This section is mainly user/consumer discussion. (Peer-reviewed scientific discussion should go in Laboratory section). Tips, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
Post Reply
User avatar
themagic
Posts: 463
Joined: 02 Jul 2024, 08:22

udp2raw, udpspeeder, shadowsocks...

Post by themagic » 07 Feb 2025, 14:23

Some things to try but i have zero idea how this works and how to properly setup this with my Openwrt Routers and make this all working the correct way...Would rly like to read some more simple (for dumb humans like me) tutorials stepbystep on this all and try to understand and then test and stuff by myself here and if this makes some difference and improvements in online gaming at all...

in my openwrt routers i have a package which is called: udpspeeder but not luci-app.

but i find something here and with luci-app but everything chinese and even youtube tutorials of this in chinese:
https://262235.xyz/hexo/2019/04/18/openwrt_wg/

very hard to follow for a human like me and understand but maybe this somehow will be useful for other guys here and with more knowledge and if they want to experiment with that all stuff...

https://github.com/wangyu-/UDPspeeder

https://github.com/wangyu-/udp2raw

https://github.com/shadowsocks


but i tried shadowsocks on desktop and downloaded client here...

https://udpcustom.online/shadowsocks-server-config/

after i setup it with the generated config there and my public IP changed. https://www.whatismyip.com/
so seems to work this far...

but here is the thing which i dont understand and need help and this proxy stuff...it says in github that traffic can go UDP but need ProxyCap or SocksCap64:
https://github.com/shadowsocks/shadowsocks-windows

Image

i tried ProxyCap and SocksCap64 and that everything goes through that but when doing UDP echo test then i get this:

in ProxyCap:

if select connect only then test is OK.
https://i.imgur.com/zP9xruS.jpeg

but if i do UDP echo then it fails...
https://i.imgur.com/CkpmEC4.jpeg


in SocksCap64:
tcp and udp tests both fails with this message...
https://i.imgur.com/PHD3ix1.jpeg

but somehow before tcp test was working but right now dont... :x



i tried to follow tutorials about shadowsocks and everything but here im fail to understand what i do wrong and how this works with these programms...

maybe here some guys with knowledge and can do simple tutorial to follow and how to make this all work and so that udp test pass and working traffic and apps using this shadowsocks proxy connection? if that even possible ? maybe i dont get it right and misunderstand something...

but hope you get what i try to do and test...


thanks.

and here another thing for people with knowledge to try:

https://github.com/ACTom/tinyFecVPN

vpn which already has this udpspeeder implemented. if i understand it right...

"Assume your local network to your server is lossy. Just establish a VPN connection to your server with tinyFecVPN, access your server via this VPN connection, then your connection quality will be significantly improved. With well-tuned parameters , you can easily reduce IP or UDP/ICMP packet-loss-rate to less than 0.01% . Besides reducing packet-loss-rate, tinyFecVPN can also significantly improve your TCP latency and TCP single-thread download speed.

TinyFecVPN uses same lib as UDPspeeder, supports all FEC features of UDPspeeder. TinyFecVPN works at VPN mode,while UDPspeeder works at UDP tunnel mode.
"

Post Reply