zoraxy icon indicating copy to clipboard operation
zoraxy copied to clipboard

[ENHANCEMENTS] UDP Tunneling / Proxy

Open DerLeole opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. Zoraxy allows tunneling TCP connections similar to Stream Hosts in NginxProxyManager. The screenshots demonstrate one of its main use cases with the example of a Minecraft game server. However some Games (or in my case a specific mod for MC) require a UDP connection which does not seem to be possible at the moment.

Describe the solution you'd like Add a feature that paralells how the TCP Proxy already works, but for UDP connections instead.

Describe alternatives you've considered Refactor the TCP Proxy feature into a general "Stream Proxy" feature that allows for either UDP, TCP, or both for the specific connection. This is probably the cleaner and prefered method.

Thank you very much for your work on this.

DerLeole avatar May 05 '24 08:05 DerLeole

The TCP proxy function was ~~stolen~~ forked from this repo https://github.com/cw1997/NATBypass

As the original repo didn't support UDP yet (it is in the to-do list), we need to wait for the project to be updated in order to integrate it into Zoraxy.

tobychui avatar May 06 '24 02:05 tobychui

Considering the last commit to NATBypass was 6 years ago, I wouldn't hold my breath that this will ever happen.

Edit: Just doing some searching, I came across this repo that claims to do both. Not a Go programmer, so not sure what it would take to implement. https://github.com/xitongsys/gogw

mflagler avatar May 09 '24 18:05 mflagler

this one seems to be more actively maintained...https://github.com/yusing/go-proxy?tab=readme-ov-file#provider-kinds

tworth04 avatar May 16 '24 17:05 tworth04

I have manually added UDP proxy function into the original NATBypass code base. I am still testing it right now and I guess this feature should be ready in 1 or 2 releases. 圖片

tobychui avatar Jun 06 '24 13:06 tobychui

Man that's some great work! Thank you so much.

DerLeole avatar Jun 06 '24 16:06 DerLeole

圖片 Feature added in v3.0.6

tobychui avatar Jun 10 '24 08:06 tobychui