frp
frp copied to clipboard
udp代理错误
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
https://github.com/fatedier/frp/blob/cf025d63207b4a2872ba946dc32ab56b3f98053a/conf/frpc_full_example.toml#L184-L185
https://github.com/fatedier/frp/blob/cf025d63207b4a2872ba946dc32ab56b3f98053a/conf/frpc_full_example.toml#L184-L185
同上修改并没有用
frps 所在网络 开放 UDP 27015
frps 所在网络 开放 UDP 27015
端口开放了也无效
你解决了吗?
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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
客户端和服务端都没有任何报错,却没有流量被转发
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版本)就能转发。