mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #802] 负载均衡不支持range #625
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#625
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fyhong on GitHub (Jun 2, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/802
如果批量影射端口
[range:test]
type = tcp
local_ip = x.x.x.x
local_port = 8001,8002,8003
remote_port = 8001,8002,8003
group = 123
group_key = 123
如果用上面这样的参数运行,启动frpc会报错。
start error: group params invalid
@fatedier commented on GitHub (Jun 2, 2018):
负载均衡要求
remote_port相同,所以确实不支持。@fyhong commented on GitHub (Jun 3, 2018):
能不能做成以下形式?
[range:test]
type = tcp
local_ip = x.x.x.x
local_port = 8001,8002,8003
remote_port = 8001,8002,8003
group = 123,222,333
group_key = 123,222,333
[test222]
type = tcp
local_ip = x.x.x.x
local_port = 8002
remote_port = 8002
group = 222
group_key = 222