mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #5044] udp packet not relaying to frpc #3968
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3968
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stanlyong on GitHub (Nov 3, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5044
Bug Description
Hello,
this is a basic question, i have frps hosted on a VPS and frpc on an intranet VM. on frpc i have also wireguard hosted at port 51820 on UDP.
frps
bindPort = 7000
auth.token = #####
frpc
serverAddr = "##.##.##.##"
serverPort = 7000
auth.token = "#####"
proxies
name = "wg-udp"
type = "udp"
localIP = "127.0.0.1"
localPort = 51820
remotePort = 51820
now I am sending a udp packet to server:51820 it cannot get relayed to frpc server.
from system logs, frpc connected to frps with no issue. frps server received the packet but not on the frpc.
frpc Version
0.65
frps Version
0.65
System Architecture
linux/amd64
Configurations
frps
bindPort = 7000
auth.token = #####
frpc
serverAddr = "##.##.##.##"
serverPort = 7000
auth.token = "#####"
proxies
name = "wg-udp"
type = "udp"
localIP = "127.0.0.1"
localPort = 51820
remotePort = 51820
Logs
Nov 03 04:00:16 frpserver frps[105839]: 2025-11-03 04:00:16.542 [I] [server/service.go:582] [54560643a3545c1b] client login info: ip [frpc:27901] version [0.65.0] hostname [] os [linux] arch [amd64]
Nov 03 04:00:16 frpserver frps[105839]: 2025-11-03 04:00:16.612 [I] [proxy/udp.go:103] [54560643a3545c1b] [wg-udp] udp proxy listen port [51820]
Nov 03 04:00:16 frpserver frps[105839]: 2025-11-03 04:00:16.612 [I] [server/control.go:399] [54560643a3545c1b] new proxy [wg-udp] type [udp] success
Nov 03 04:00:16 vpnserver systemd[1]: Stopped frpc.service - frp client.
Nov 03 04:00:16 vpnserver systemd[1]: Started frpc.service - frp client.
Nov 03 04:00:16 vpnserver frpc[6677]: 2025-11-03 04:00:16.246 [I] [sub/root.go:149] start frpc service for config file [/opt/frp/frpc.toml]
Nov 03 04:00:16 vpnserver frpc[6677]: 2025-11-03 04:00:16.246 [I] [client/service.go:325] try to connect to server...
Nov 03 04:00:16 vpnserver frpc[6677]: 2025-11-03 04:00:16.528 [I] [client/service.go:317] [54560643a3545c1b] login to server success, get run id [54560643a3545c1b]
Nov 03 04:00:16 vpnserver frpc[6677]: 2025-11-03 04:00:16.528 [I] [proxy/proxy_manager.go:177] [54560643a3545c1b] proxy added: [wg-udp]
Nov 03 04:00:16 vpnserver frpc[6677]: 2025-11-03 04:00:16.626 [I] [client/control.go:172] [54560643a3545c1b] [wg-udp] start proxy success
Nov 03 04:00:17 vpnserver frpc[6677]: 2025-11-03 04:00:17.107 [I] [proxy/udp.go:93] [54560643a3545c1b] [wg-udp] incoming a new work connection for udp proxy, 20.106.178.104:7000
Steps to reproduce
...
Affected area
@stanlyong commented on GitHub (Nov 3, 2025):
i checked
i dont have much insight for this issue but the frpc cannot made to work untill discovered the udp packet won't get relayed in the intranet. please