mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #3332] UDP packets not being forwarded #2669
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#2669
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 @0xAl3xH on GitHub (Feb 24, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3332
Bug Description
What I've tried
Here is the
frpc.iniconfiguration in what I will call theUDP_serverAfter checking the dashboard to make sure the port is online:

To test, I ran
nc -lu 9710onUDP_serverand on my own machine, I ranecho "hello world" | nc -4 -v -u [FRP_server_IP] 9710and nothing happened.However, as a sanity check I set
type = tcpand repeated the netcat test above withnc -l 9710on the server andecho "hello world" | nc -4 -v [FRP_server_IP] 9710on the client and I was able to recieve the message.What I expected
I expected UDP forwarding to work as well.
What happened
TCP forwarding worked but UDP didn't
frpc Version
0.46.1
frps Version
0.46.1
System Architecture
linux/x86_64, macOS/arm64
Configurations
[udp-test]
type = udp
local_ip = 127.0.0.1
local_port = 9710
remote_port = 9710
and
[udp-test]
type = tcp
local_ip = 127.0.0.1
local_port = 9710
remote_port = 9710
Logs
No response
Steps to reproduce
nc -lu 9710onUDP_serverecho "hello world" | nc -4 -v -u [FRP_server_IP] 9710on the clientAffected area
@brostosjoined commented on GitHub (Mar 19, 2023):
Test with this see if the is udp or your configuration https://github.com/DKingAlpha/frp#all-ports-mapping
@github-actions[bot] commented on GitHub (Apr 19, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@svinc33 commented on GitHub (Nov 21, 2024):
I'm having the same issue, it seems there's a weird issue with frp not forwarding UDP