[GH-ISSUE #2589] Can we specify a custom proxy bind address for a [section] on frps? #2064

Closed
opened 2026-05-05 13:19:44 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @tgbv on GitHub (Sep 25, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2589

frps.ini

[common]
bind_addr = x.x.x.x
bind_port = 6999

proxy_bind_addr = 127.0.0.1
vhost_http_port = 6998

[ssh]
proxy_bind_addr = x.x.x.x

frpc.ini

[common]
server_addr = x.x.x.x
server_port = 6999

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000

With the upper configuration, command ssh -oPort=6000 user@x.x.x.x fails.

Is there a way to specify a custom proxy bind host for section on fprs ?

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @tgbv on GitHub (Sep 25, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2589 **frps.ini** ```ini [common] bind_addr = x.x.x.x bind_port = 6999 proxy_bind_addr = 127.0.0.1 vhost_http_port = 6998 [ssh] proxy_bind_addr = x.x.x.x ``` **frpc.ini** ```ini [common] server_addr = x.x.x.x server_port = 6999 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000 ``` With the upper configuration, command `ssh -oPort=6000 user@x.x.x.x` fails. Is there a way to specify a custom proxy bind host for section on fprs ? ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [X] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Sep 26, 2021):

I prefer you deploy two frps for different scenarios. Otherwise, it will be complicated to maintain.

<!-- gh-comment-id:927217723 --> @fatedier commented on GitHub (Sep 26, 2021): I prefer you deploy two frps for different scenarios. Otherwise, it will be complicated to maintain.
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#2064
No description provided.