xtaci / kcptun

A Quantum-Safe Secure Tunnel based on QPP, KCP, FEC, and N:M multiplexing.
MIT License
13.81k stars 2.53k forks source link

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

Open chainofhonor opened 3 months ago

chainofhonor commented 3 months ago

客户端监听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 commented 3 months ago

did udp2raw not help?

xtaci commented 3 months ago

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

linnuxx commented 3 months ago

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