[GH-ISSUE #4794] p2p无法xudp端口转发,verify提示:unknown visitor type: xudp #3786

Closed
opened 2026-05-05 14:25:29 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @litrycn on GitHub (May 14, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4794

Bug Description

测试步骤:
执行/Users/xxx/frpc -c ./cfwslocalmac.json verify

预期结果:
frpc: the configuration file ./cfwslocalmac.json syntax is ok

实际结果:
unknown visitor type: xudp

frpc Version

0.61.1

frps Version

0.61.1

System Architecture

linux/amd64

Configurations

{
"serverAddr": "127.0.0.1",
"serverPort": 31180,
"loginFailExit": true,
"natHoleStunServer": "stun.easyvoip.com:3478",
"webServer": {
"addr": "127.0.0.1",
"port": 13123,
"pprofEnable": true
},
"transport": {
"protocol": "websocket",
"tls": {
"enable": true,
"disableCustomTLSFirstByte": false
}
},
"log": {
"level": "trace",
"disablePrintColor": true
},
"proxies": [
{
"type": "http",
"name": "mac_frpc",
"localPort": 13123,
"customDomains": [
"mac"
]
}
],
"visitors": [
{
"type": "xudp",
"name": "xudp_8350_3389_51372_mac_visitor",
"secretKey": "xudp_8350_3389_51372",
"serverName": "xudp_8350_3389_51372",
"bindAddr": "127.0.0.1",
"bindPort": 51372
}
]
}

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @litrycn on GitHub (May 14, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4794 ### Bug Description 测试步骤: 执行/Users/xxx/frpc -c ./cfwslocalmac.json verify 预期结果: frpc: the configuration file ./cfwslocalmac.json syntax is ok 实际结果: unknown visitor type: xudp ### frpc Version 0.61.1 ### frps Version 0.61.1 ### System Architecture linux/amd64 ### Configurations { "serverAddr": "127.0.0.1", "serverPort": 31180, "loginFailExit": true, "natHoleStunServer": "stun.easyvoip.com:3478", "webServer": { "addr": "127.0.0.1", "port": 13123, "pprofEnable": true }, "transport": { "protocol": "websocket", "tls": { "enable": true, "disableCustomTLSFirstByte": false } }, "log": { "level": "trace", "disablePrintColor": true }, "proxies": [ { "type": "http", "name": "mac_frpc", "localPort": 13123, "customDomains": [ "mac" ] } ], "visitors": [ { "type": "xudp", "name": "xudp_8350_3389_51372_mac_visitor", "secretKey": "xudp_8350_3389_51372", "serverName": "xudp_8350_3389_51372", "bindAddr": "127.0.0.1", "bindPort": 51372 } ] } ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:25:29 -06:00
Author
Owner

@litrycn commented on GitHub (May 14, 2025):

frp 也无法创建xudp的代理。
执行frpc -c R.json verify
提示:unknown proxy type: xudp

{
"serverAddr": "127.0.0.1",
"serverPort": 31180,
"loginFailExit": true,
"natHoleStunServer": "stun.easyvoip.com:3478",
"webServer": {
"addr": "127.0.0.1",
"port": 13124,
"pprofEnable": true
},
"transport": {
"protocol": "websocket",
"tls": {
"enable": true,
"disableCustomTLSFirstByte": false
}
},
"log": {
"level": "trace",
"disablePrintColor": true
},
"proxies": [
{
"type": "http",
"name": "8350_frpc",
"localPort": 13124,
"customDomains": [
"8350"
]
},
{
"type": "xudp",
"name": "xudp_8350_3389_51372",
"secretKey": "xudp_8350_3389_51372",
"localIP": "127.0.0.1",
"localPort": 3389
}
]
}

<!-- gh-comment-id:2879322350 --> @litrycn commented on GitHub (May 14, 2025): frp 也无法创建xudp的代理。 执行frpc -c R.json verify 提示:unknown proxy type: xudp { "serverAddr": "127.0.0.1", "serverPort": 31180, "loginFailExit": true, "natHoleStunServer": "stun.easyvoip.com:3478", "webServer": { "addr": "127.0.0.1", "port": 13124, "pprofEnable": true }, "transport": { "protocol": "websocket", "tls": { "enable": true, "disableCustomTLSFirstByte": false } }, "log": { "level": "trace", "disablePrintColor": true }, "proxies": [ { "type": "http", "name": "8350_frpc", "localPort": 13124, "customDomains": [ "8350" ] }, { "type": "xudp", "name": "xudp_8350_3389_51372", "secretKey": "xudp_8350_3389_51372", "localIP": "127.0.0.1", "localPort": 3389 } ] }
Author
Owner

@github-actions[bot] commented on GitHub (May 29, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:2917917897 --> @github-actions[bot] commented on GitHub (May 29, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
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#3786
No description provided.