Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望能增加监听UDP的功能 #942

Open
chainofhonor opened this issue Apr 7, 2024 · 4 comments
Open

希望能增加监听UDP的功能 #942

chainofhonor opened this issue Apr 7, 2024 · 4 comments

Comments

@chainofhonor
Copy link

客户端监听UDP端口
服务器转发到UDP端口

这个需求是想用KCPTUN转发wireguard的流量

比如这样
client_windows_amd64.exe -l 192.168.0.2:4000/UDP -r 1.2.3.4:10000
server_windows_amd64.exe -l 1.2.3.4:10000 -t 127.0.0.1:4000/UDP

希望能增加这个功能

@linnuxx
Copy link

linnuxx commented Apr 16, 2024

did udp2raw not help?

@xtaci
Copy link
Owner

xtaci commented Apr 16, 2024

https://github.com/xtaci/reorg
这个就是干这个事情的,在tun/tap上,模拟了一个设备。 但效果不尽人意,因为可能上层又有一层的ARQ算法。导致上层的ARQ模型错误了。

@linnuxx
Copy link

linnuxx commented Apr 19, 2024

will it be possible to connect wireguard via kcptun sometime?
wireguard>udp2raw>kcptun not a working option.

@egg1234
Copy link

egg1234 commented Aug 29, 2024

@chainofhonor 你可以看看下面这个作者的好几个项目,都可以做你希望的转发udp端口的功能,作者也是介绍使用自己的工具转发openvpn,wireguard等等udp的vpn,而且项目都是基于kcp协议延伸开发的

但至少我这边的测试肯定会出现下载几G大文件中断的问题,在issue上也与作者讨论过,但没有找出原因,到现在没有解决

https://github.com/cnbatch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants