[GH-ISSUE #1729] [Feature Request] p2p udp forward like xtcp (xudp) #1367

Closed
opened 2026-05-05 12:52:04 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @oott123 on GitHub (Apr 3, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1729

请求支持 p2p 的 udp 转发。xtcp 很好用,不过目前无法转发 udp 包,如果有 udp 需求,目前需要用其他的 udp over tcp 方案来实现,略显麻烦。

目前有一些 issue 都在提这个,但他们都被关闭了,因此重新提一个,希望保持 open 状态直到实现。

Originally created by @oott123 on GitHub (Apr 3, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1729 请求支持 p2p 的 udp 转发。xtcp 很好用,不过目前无法转发 udp 包,如果有 udp 需求,目前需要用其他的 udp over tcp 方案来实现,略显麻烦。 目前有一些 issue 都在提这个,但他们都被关闭了,因此重新提一个,希望保持 open 状态直到实现。
Author
Owner

@aa51513 commented on GitHub (Feb 11, 2023):

fatedier added the future label on Apr 5, 2020

<!-- gh-comment-id:1426805332 --> @aa51513 commented on GitHub (Feb 11, 2023): fatedier added the future label on Apr 5, 2020
Author
Owner

@jdxia commented on GitHub (Jun 23, 2024):

希望增加这块支持, 我这边使用都会部署wireguard 这类vpn, vpn一般都是udp通信, 然后希望打洞出来.
但是目前打洞不支持tcp

<!-- gh-comment-id:2184408253 --> @jdxia commented on GitHub (Jun 23, 2024): 希望增加这块支持, 我这边使用都会部署wireguard 这类vpn, vpn一般都是udp通信, 然后希望打洞出来. 但是目前打洞不支持tcp
Author
Owner

@lingchenma commented on GitHub (Mar 23, 2025):

求助支持

<!-- gh-comment-id:2746142543 --> @lingchenma commented on GitHub (Mar 23, 2025): 求助支持
Author
Owner

@fscarmen commented on GitHub (Jun 6, 2025):

请求支持!

<!-- gh-comment-id:2948130369 --> @fscarmen commented on GitHub (Jun 6, 2025): 请求支持!
Author
Owner

@miuzkle commented on GitHub (Jul 2, 2025):

如果当前没有实现xudp的稳定方法,是否可以在frp中直接对udp的包封装成tcp,并通过xtcp来进行使用呢,最近发现sudp和udp的延迟太高了,xtcp又不能接收,只能通过其他的udp over tcp的软件进行转发,相对来说比较麻烦

至于zerotier, wireguard, tailscale不考虑,第一,没多余的公网,虽然说IPv6已经普及了,但是很难用,第二,想让服务端放在自己的服务器上跑

<!-- gh-comment-id:3026533094 --> @miuzkle commented on GitHub (Jul 2, 2025): 如果当前没有实现xudp的稳定方法,是否可以在frp中直接对udp的包封装成tcp,并通过xtcp来进行使用呢,最近发现sudp和udp的延迟太高了,xtcp又不能接收,只能通过其他的udp over tcp的软件进行转发,相对来说比较麻烦 至于zerotier, wireguard, tailscale不考虑,第一,没多余的公网,虽然说IPv6已经普及了,但是很难用,第二,想让服务端放在自己的服务器上跑
Author
Owner

@fatedier commented on GitHub (Jul 2, 2025):

如果当前没有实现xudp的稳定方法,是否可以在frp中直接对udp的包封装成tcp,并通过xtcp来进行使用呢,最近发现sudp和udp的延迟太高了,xtcp又不能接收,只能通过其他的udp over tcp的软件进行转发,相对来说比较麻烦

至于zerotier, wireguard, tailscale不考虑,第一,没多余的公网,虽然说IPv6已经普及了,但是很难用,第二,想让服务端放在自己的服务器上跑

Try VirtualNetwork

<!-- gh-comment-id:3026556533 --> @fatedier commented on GitHub (Jul 2, 2025): > 如果当前没有实现xudp的稳定方法,是否可以在frp中直接对udp的包封装成tcp,并通过xtcp来进行使用呢,最近发现sudp和udp的延迟太高了,xtcp又不能接收,只能通过其他的udp over tcp的软件进行转发,相对来说比较麻烦 > > 至于zerotier, wireguard, tailscale不考虑,第一,没多余的公网,虽然说IPv6已经普及了,但是很难用,第二,想让服务端放在自己的服务器上跑 Try [VirtualNetwork](https://github.com/fatedier/frp?tab=readme-ov-file#virtual-network-virtualnet)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1367
No description provided.