[GH-ISSUE #2961] 端口转发时无法使用proxy_protocol获取真实ip #2362

Closed
opened 2026-05-05 13:31:22 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @peaceanddemocracy on GitHub (May 30, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2961

Bug Description

后端内网是nginx和apache,不开启proxy_protocol,获取的ip都是软路由的。
开启proxy_protocol后,访问页面报错404 Not Found,nginx

frpc Version

0.43.0

frps Version

0.43.0

System Architecture

linux/arm

Configurations

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
Originally created by @peaceanddemocracy on GitHub (May 30, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2961 ### Bug Description 后端内网是nginx和apache,不开启proxy_protocol,获取的ip都是软路由的。 开启proxy_protocol后,访问页面报错404 Not Found,nginx ### frpc Version 0.43.0 ### frps Version 0.43.0 ### System Architecture linux/arm ### Configurations 略 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [X] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
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#2362
No description provided.