frp icon indicating copy to clipboard operation
frp copied to clipboard

[Feature Request] Multiple IP on server and remote_Ip value

Open d-513 opened this issue 3 years ago • 3 comments

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

d-513 avatar Jan 13 '22 16:01 d-513

https://github.com/fatedier/frp/blob/293003fcdb6a090f9e2919b8e7d1224ab1e41549/conf/frps_full.ini#L3-L6

or yongboy/bindp

Becods avatar Feb 23 '22 15:02 Becods

https://github.com/fatedier/frp/blob/293003fcdb6a090f9e2919b8e7d1224ab1e41549/conf/frps_full.ini#L3-L6

or yongboy/bindp

yes, but you need multiple instances to use many addresses

d-513 avatar Feb 23 '22 15:02 d-513

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

yashodhank avatar Apr 04 '22 19:04 yashodhank

@yashodhank any news of that ?

Nour963 avatar Oct 27 '22 08:10 Nour963

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

github-actions[bot] avatar Jul 31 '23 00:07 github-actions[bot]

@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.

yashodhank avatar Jul 31 '23 00:07 yashodhank

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

github-actions[bot] avatar Aug 31 '23 00:08 github-actions[bot]