frp icon indicating copy to clipboard operation
frp copied to clipboard

udp代理错误

Open jinghuashang opened this issue 1 year ago • 5 comments

Bug Description

使用udp端口代理时不生效,但tcp端口协议正常

frpc Version

0.54

frps Version

0.54

System Architecture

linux/amd64windows/amd64

Configurations

【frps】 bindPort = 7000

webServer.addr = "0.0.0.0" webServer.port = 7500 【frpc】 serverAddr = "" serverPort = 7000

[[proxies]] privilege_token = true name = "L4D2节点0" type = "udp" local_ip = "192.168.31.13" local_port = 27015 remotePort = 27015

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

jinghuashang avatar Feb 16 '24 13:02 jinghuashang

https://github.com/fatedier/frp/blob/cf025d63207b4a2872ba946dc32ab56b3f98053a/conf/frpc_full_example.toml#L184-L185

xqzr avatar Feb 16 '24 22:02 xqzr

https://github.com/fatedier/frp/blob/cf025d63207b4a2872ba946dc32ab56b3f98053a/conf/frpc_full_example.toml#L184-L185

同上修改并没有用

jinghuashang avatar Feb 17 '24 06:02 jinghuashang

frps 所在网络 开放 UDP 27015

xqzr avatar Feb 17 '24 12:02 xqzr

frps 所在网络 开放 UDP 27015

端口开放了也无效

jinghuashang avatar Feb 18 '24 03:02 jinghuashang

你解决了吗?

WuMe-sicx avatar Feb 21 '24 14:02 WuMe-sicx

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

github-actions[bot] avatar Mar 14 '24 00:03 github-actions[bot]

image

UDP 27015端口,看来你也是转发cs2的(

遇到了同样的问题

frps.toml:

bindPort = 7000

webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = ""

frpc.toml:

serverAddr = "****.****.****.****"
serverPort = 7000

webServer.addr = "127.0.0.1"
webServer.port = 7400
webServer.user = "admin"
webServer.password = ""

[[proxies]]
name = "cs2"
type = "udp"
localIP = "127.0.0.1"
localPort = 27015
remotePort = 6000

客户端和服务端都没有任何报错,却没有流量被转发

freeze-dolphin avatar Mar 22 '24 07:03 freeze-dolphin

image

UDP 27015端口,看来你也是转发cs2的(

遇到了同样的问题

frps.toml:

bindPort = 7000

webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = ""

frpc.toml:

serverAddr = "****.****.****.****"
serverPort = 7000

webServer.addr = "127.0.0.1"
webServer.port = 7400
webServer.user = "admin"
webServer.password = ""

[[proxies]]
name = "cs2"
type = "udp"
localIP = "127.0.0.1"
localPort = 27015
remotePort = 6000

客户端和服务端都没有任何报错,却没有流量被转发

不知道为啥,老版本(非go版本)就能转发。

jinghuashang avatar May 15 '24 01:05 jinghuashang