[GH-ISSUE #2811] 游戏转发 #2249

Closed
opened 2026-05-05 13:26:56 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @MarilynPalmer on GitHub (Feb 20, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2811

Bug Description

有些游戏会二次转发导致无法连接,这个怎么解决

登录正常,进游戏就会被转发到下面地址127.0.0.1

frpc Version

0.39.1

frps Version

0.39.1

System Architecture

linux/amd64

Configurations

[common]
server_addr =
server_port = 7000

[]
type = udp
local_ip = 127.0.0.1
local_port = 19132
remote_port = 19132

[_tcp]
type = tcp
local_ip = 127.0.0.1
local_port = 30002
remote_port = 30002

[_udp]
type = udp
local_ip = 127.0.0.1
local_port = 30002
remote_port = 30002

[_game_tcp]
type = tcp
local_ip = 127.0.0.1
local_port = 27005
remote_port = 27005

[_game_udp]
type = udp
local_ip = 127.0.0.1
local_port = 27005
remote_port = 27005

Logs

No response

Steps to reproduce

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @MarilynPalmer on GitHub (Feb 20, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2811 ### Bug Description 有些游戏会二次转发导致无法连接,这个怎么解决 登录正常,进游戏就会被转发到下面地址127.0.0.1 ### frpc Version 0.39.1 ### frps Version 0.39.1 ### System Architecture linux/amd64 ### Configurations [common] server_addr = server_port = 7000 [] type = udp local_ip = 127.0.0.1 local_port = 19132 remote_port = 19132 [_tcp] type = tcp local_ip = 127.0.0.1 local_port = 30002 remote_port = 30002 [_udp] type = udp local_ip = 127.0.0.1 local_port = 30002 remote_port = 30002 [_game_tcp] type = tcp local_ip = 127.0.0.1 local_port = 27005 remote_port = 27005 [_game_udp] type = udp local_ip = 127.0.0.1 local_port = 27005 remote_port = 27005 ### Logs _No response_ ### Steps to reproduce _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@Becods commented on GitHub (Feb 23, 2022):

描述不清

看端口应该为minecraft be

尝试在服务端套上代理并开启proxy protocol协议

<!-- gh-comment-id:1048873817 --> @Becods commented on GitHub (Feb 23, 2022): 描述不清 看端口应该为minecraft be 尝试在服务端套上代理并开启proxy protocol协议
Author
Owner

@MarilynPalmer commented on GitHub (Feb 24, 2022):

描述不清

看端口应该为minecraft be

尝试在服务端套上代理并开启proxy protocol协议

启动游戏时通过30002端口连接服务端显示ip 127.0.0.1 但可以登录,到了房间内开始游戏或加入游戏会转到本地127.0.0.1地址导致无法连接

<!-- gh-comment-id:1049914004 --> @MarilynPalmer commented on GitHub (Feb 24, 2022): > 描述不清 > > 看端口应该为minecraft be > > 尝试在服务端套上代理并开启proxy protocol协议 启动游戏时通过30002端口连接服务端显示ip 127.0.0.1 但可以登录,到了房间内开始游戏或加入游戏会转到本地127.0.0.1地址导致无法连接
Author
Owner

@Becods commented on GitHub (Feb 28, 2022):

描述依旧不清,请提供 游戏日志 frp的双端日志 游戏服务端配置

<!-- gh-comment-id:1054065459 --> @Becods commented on GitHub (Feb 28, 2022): 描述依旧不清,请提供 `游戏日志` `frp的双端日志` `游戏服务端配置`
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#2249
No description provided.