[GH-ISSUE #4512] [Feature Request] frp搭配ingress-nginx怎么获取到真实IP? #3563

Closed
opened 2026-05-05 14:17:28 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @zhangtianming777 on GitHub (Oct 25, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4512

Describe the feature request

目前我测试frp搭配ingress-nginx,日志获取到的但是master的内网IP,怎么获取到真实的IP呢?

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 @zhangtianming777 on GitHub (Oct 25, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4512 ### Describe the feature request 目前我测试frp搭配ingress-nginx,日志获取到的但是master的内网IP,怎么获取到真实的IP呢? ### 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 - [X] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Oct 25, 2024):

Try google first.

<!-- gh-comment-id:2436973842 --> @fatedier commented on GitHub (Oct 25, 2024): Try google first.
Author
Owner

@zhangtianming777 commented on GitHub (Oct 25, 2024):

先尝试一下谷歌。

嗯,之前在谷歌已经查询过多次,大部分都是frp+nginx的配置,我尝试过在ingress-nginx的pods里面修改nginx.conf文件,请求的IP还是master的内网IP

<!-- gh-comment-id:2436979291 --> @zhangtianming777 commented on GitHub (Oct 25, 2024): > 先尝试一下谷歌。 嗯,之前在谷歌已经查询过多次,大部分都是frp+nginx的配置,我尝试过在ingress-nginx的pods里面修改nginx.conf文件,请求的IP还是master的内网IP
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#3563
No description provided.