mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3036] frpc.ini依照配置port range & Envs在local_port上出錯 #2428
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#2428
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 @Superarc543 on GitHub (Jul 28, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3036
Bug Description
錯誤的frpc.ini:
[common]
server_addr = 10.1.3.68
server_port = 7000
[node_exporter]
type = tcp
local_ip = 127.0.0.1
local_port = 9100-9200
remote_port = 9100-9200
我僅配置單個Port (9100) 完全正常!!!!
如我修改為{{ .Envs.NODE }} ,如用多個非範圍的Port (Ex. 9100,9111,9122)依然錯誤
錯誤只顯示:
failed to parse proxy node_exporter err: error local_poxy node_exporter, err: error local_port
frpc Version
0.44
frps Version
0.44
System Architecture
CentOS Linux release 7.9.2009 (Core)
Configurations
[common]
server_addr = 10.1.3.68
server_port = 7000
[node_exporter]
type = tcp
local_ip = 127.0.0.1
local_port = 9100-9200
remote_port = 9100-9200
Logs
failed to parse proxy node_exporter, err: error local_poxy node_exporter, err: error local_port
Steps to reproduce
No response
Affected area
@fuyoo commented on GitHub (Jul 28, 2022):
frpc could not support port-range
see doc
@Becods commented on GitHub (Jul 28, 2022):
👆 Outdated content.
See Range ports mapping.
@github-actions[bot] commented on GitHub (Aug 28, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.