mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1237] 关于frps的两个建议1)frps默认加载ini ,2)frps禁用和解禁name #973
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#973
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 @status301 on GitHub (May 8, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1237
建议frps在使用时默认先判断运行目录下是否存在frps.ini文件,没有再绑定默认的7000端口。
原因:在docker化发现执行默认参数会找不到文件
cat Dockerfile
结局:
frps禁用和解禁name
我自建的frps支撑了10+的frpc客户端,有时service的端口会有冲突,需要临时取消穿透。
现在只能在需要时修改frpc的配置文件,能否在frps内存中暂时禁用name(强制name已使用释放端口或将端口随机),在使用完成后在解禁(测试发现frp的name是唯一的同一时间只能存在1个)
@status301 commented on GitHub (May 8, 2019):
或者开放1个API,使用api(GUI)禁用/启用 name
@status301 commented on GitHub (May 16, 2019):
#已解决
1)
在frpc中映射frpc Admin