[GH-ISSUE #929] 新增功能:在同一个端口下同时代理tcp和udp #738

Closed
opened 2026-05-05 12:28:24 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @cloverzrg on GitHub (Sep 21, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/929

What version of frp are you using (./frpc -v or ./frps -v)?
20.0

What operating system and processor architecture are you using (go env)?
linux

Configures you used:
[home-remote]
type = tcp
local_ip = 192.168.1.2
local_port = 3389
remote_port = 3389

[home-remote]
type = udp
local_ip = 192.168.1.2
local_port = 3389
remote_port = 3389

Describe the results you received:
只能代理udp

Describe the results you expected:
同时代理3389端口的udp和tcp

Originally created by @cloverzrg on GitHub (Sep 21, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/929 **What version of frp are you using (./frpc -v or ./frps -v)?** 20.0 **What operating system and processor architecture are you using (`go env`)?** linux **Configures you used:** [home-remote] type = tcp local_ip = 192.168.1.2 local_port = 3389 remote_port = 3389 [home-remote] type = udp local_ip = 192.168.1.2 local_port = 3389 remote_port = 3389 **Describe the results you received:** 只能代理udp **Describe the results you expected:** 同时代理3389端口的udp和tcp
Author
Owner

@cloverzrg commented on GitHub (Sep 21, 2018):

原来是不能用同一个名字([home-remote])

<!-- gh-comment-id:423427848 --> @cloverzrg commented on GitHub (Sep 21, 2018): 原来是不能用同一个名字([home-remote])
Author
Owner

@lyh543 commented on GitHub (Dec 5, 2019):

抓到一个远程桌面的2333

<!-- gh-comment-id:562048595 --> @lyh543 commented on GitHub (Dec 5, 2019): 抓到一个远程桌面的2333
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#738
No description provided.