[GH-ISSUE #2762] [Feature Request] Multiple IP on server and remote_Ip value #2210

Closed
opened 2026-05-05 13:25:23 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @d-513 on GitHub (Jan 13, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2762

Describe the feature request

My server has many public ip, I need to define what IP to use with frpc

Describe alternatives you've considered

multiple instances of frps

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @d-513 on GitHub (Jan 13, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2762 ### Describe the feature request My server has many public ip, I need to define what IP to use with frpc ### Describe alternatives you've considered multiple instances of frps ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [X] Others
gitea-mirror 2026-05-05 13:25:23 -06:00
Author
Owner

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

293003fcdb/conf/frps_full.ini (L3-L6)

or yongboy/bindp

<!-- gh-comment-id:1048890428 --> @Becods commented on GitHub (Feb 23, 2022): https://github.com/fatedier/frp/blob/293003fcdb6a090f9e2919b8e7d1224ab1e41549/conf/frps_full.ini#L3-L6 or [yongboy/bindp](https://github.com/yongboy/bindp)
Author
Owner

@d-513 commented on GitHub (Feb 23, 2022):

293003fcdb/conf/frps_full.ini (L3-L6)

or yongboy/bindp

yes, but you need multiple instances to use many addresses

<!-- gh-comment-id:1048904038 --> @d-513 commented on GitHub (Feb 23, 2022): > https://github.com/fatedier/frp/blob/293003fcdb6a090f9e2919b8e7d1224ab1e41549/conf/frps_full.ini#L3-L6 > > or [yongboy/bindp](https://github.com/yongboy/bindp) yes, but you need multiple instances to use many addresses
Author
Owner

@yashodhank commented on GitHub (Apr 4, 2022):

What OP meant is having Multiple FRPS running on different cloud server having their own public IPs and allow FRPC hosting one or many services on local port to use these FRPS to ensure high availability of exit node? correct me if I am wrong. @dada513
I am playing with Traefik to do it right now but wonder if there is any FRPS/FRPC native way of doing it with SSL termination.

In my case I am using Traefik docker container for ssl termination for one FRPS instance at the moment I have not yet tested possibility of having multiple FRPS nodes into Traefik router to achieve high availability.

In my case, I have subdomian.domain.ext is unique exposing local web server using FRPC and FRPS hosted on cloud server behind Traefik router (in docker) is terminating SSL as well as working as revers proxy for FRPS connection from internet; So with Traefik load balancer configuration is technically possible but I am yet to test it with multiple FRPS hosted on different cloud instances.
Thank you

<!-- gh-comment-id:1087946116 --> @yashodhank commented on GitHub (Apr 4, 2022): What OP meant is having Multiple FRPS running on different cloud server having their own public IPs and allow FRPC hosting one or many services on local port to use these FRPS to ensure high availability of exit node? correct me if I am wrong. @dada513 I am playing with Traefik to do it right now but wonder if there is any FRPS/FRPC native way of doing it with SSL termination. In my case I am using Traefik docker container for ssl termination for one FRPS instance at the moment I have not yet tested possibility of having multiple FRPS nodes into Traefik router to achieve high availability. In my case, I have `subdomian.domain.ext` is unique exposing local web server using FRPC and FRPS hosted on cloud server behind Traefik router (in docker) is terminating SSL as well as working as revers proxy for FRPS connection from internet; So with Traefik load balancer configuration is technically possible but I am yet to test it with multiple FRPS hosted on different cloud instances. Thank you
Author
Owner

@Nour963 commented on GitHub (Oct 27, 2022):

@yashodhank any news of that ?

<!-- gh-comment-id:1293178255 --> @Nour963 commented on GitHub (Oct 27, 2022): > @yashodhank any news of that ?
Author
Owner

@github-actions[bot] commented on GitHub (Jul 31, 2023):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1657311387 --> @github-actions[bot] commented on GitHub (Jul 31, 2023): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Author
Owner

@yashodhank commented on GitHub (Jul 31, 2023):

@Nour963 I was able to get it working for my own use case in limited way as natively FRP does not support it at the moment.
I have implemented Docker-swarm, Traefik as load balancer and gateway for FRP Server instances running on remote nodes on any popular cloud providers. Where as FRP Clients are connecting to one such server instance to make services available to/from internet.

<!-- gh-comment-id:1657333677 --> @yashodhank commented on GitHub (Jul 31, 2023): @Nour963 I was able to get it working for my own use case in limited way as natively FRP does not support it at the moment. I have implemented Docker-swarm, Traefik as load balancer and gateway for FRP Server instances running on remote nodes on any popular cloud providers. Where as FRP Clients are connecting to one such server instance to make services available to/from internet.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 31, 2023):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1700086305 --> @github-actions[bot] commented on GitHub (Aug 31, 2023): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2210
No description provided.