[GH-ISSUE #4531] UDP over UDP tunnel #3577

Closed
opened 2026-05-05 14:17:56 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @scriptchildie on GitHub (Nov 12, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4531

Describe the feature request

Hi fantastic project.

I was wondering if there is a way to tunnel UDP traffic over UDP instead of the TCP Port.

Ideally want to have another option in the config file bindUdpPort

Please let me know if it's already implemented and I missed it.

Thank you

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @scriptchildie on GitHub (Nov 12, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4531 ### Describe the feature request Hi fantastic project. I was wondering if there is a way to tunnel UDP traffic over UDP instead of the TCP Port. Ideally want to have another option in the config file bindUdpPort Please let me know if it's already implemented and I missed it. Thank you ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Nov 12, 2024):

https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml#L83

kcp and quic are based on UDP.

<!-- gh-comment-id:2470313106 --> @fatedier commented on GitHub (Nov 12, 2024): https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml#L83 kcp and quic are based on UDP.
Author
Owner

@scriptchildie commented on GitHub (Nov 12, 2024):

nice one thanks!

<!-- gh-comment-id:2470435900 --> @scriptchildie commented on GitHub (Nov 12, 2024): nice one thanks!
Author
Owner

@CalunVier commented on GitHub (May 1, 2025):

https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml#L83

kcp and quic are based on UDP.

Can a purely UDP connection be provided? Both KCP and QUIC have packet loss retransmission mechanisms, but packet loss can be considered a virtue. In some cases, upper-layer applications may already have their own packet loss retransmission mechanisms, which could introduce additional overhead.
能否提供纯粹的UDP连接?kcp 和 quic都有丢包重传机制,但丢包是一种美德(某些情况下,上层应用会包含丢包重传机制,这会带来额外的负担?)

<!-- gh-comment-id:2845358067 --> @CalunVier commented on GitHub (May 1, 2025): > https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml#L83 > > kcp and quic are based on UDP. Can a purely UDP connection be provided? Both KCP and QUIC have packet loss retransmission mechanisms, but packet loss can be considered a virtue. In some cases, upper-layer applications may already have their own packet loss retransmission mechanisms, which could introduce additional overhead. 能否提供纯粹的UDP连接?kcp 和 quic都有丢包重传机制,但丢包是一种美德(某些情况下,上层应用会包含丢包重传机制,这会带来额外的负担?)
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#3577
No description provided.