[GH-ISSUE #4262] [Feature Request] SSH服务获取真实的源ip #3358

Closed
opened 2026-05-05 14:10:00 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @FoundAdd on GitHub (Jun 4, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4262

Describe the feature request

经过frp转发后的连接,在ssh中显示的源地址都是127.0.0.1,文档里有提到用proxy protocol协议来发送真实的请求源信息,但是ssh服务好像不支持这个协议,请问是否有其他配置可以让ssh服务获得请求源信息
image

Describe alternatives you've considered

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 @FoundAdd on GitHub (Jun 4, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4262 ### Describe the feature request 经过frp转发后的连接,在ssh中显示的源地址都是`127.0.0.1`,文档里有提到用`proxy protocol`协议来发送真实的请求源信息,但是ssh服务好像不支持这个协议,请问是否有其他配置可以让ssh服务获得请求源信息 ![image](https://github.com/fatedier/frp/assets/58539321/0e1a8432-c32b-466a-a8e9-f2930be3d334) ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [X] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Jun 4, 2024):

本地应用不支持 proxy protocol 的话就无法支持,可以搜索一下是否能结合其他支持 proxy protocol 的代理一起使用。

<!-- gh-comment-id:2146732008 --> @fatedier commented on GitHub (Jun 4, 2024): 本地应用不支持 proxy protocol 的话就无法支持,可以搜索一下是否能结合其他支持 proxy protocol 的代理一起使用。
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#3358
No description provided.