mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #224] 关于给frp两边加速的问题 #154
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#154
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 @dsf848dfgvs on GitHub (Jan 12, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/224
想用kcptun给frp的tcp端口加速,因为frp下面使用了多个tcp端口,不知道怎么加速。是只给7000加速就行了呢,还是说分别给7000、xx1、xx2、xx3.......加速呢?
frps.ini
`[common]
bind_port = 7000
dashboard_port = 7500
dashboard_user = admin
dashboard_pwd = admin
log_file = ./frps.log
log_level = error
log_max_days = 1
[y1]
type = tcp
listen_port = 5673
auth_token = 123
authentication_timeout = 0
[y2]
type = tcp
listen_port = 8349
auth_token = 123
authentication_timeout = 0`
@fatedier commented on GitHub (Jan 12, 2017):
只需要给 7000 端口加速,之后会内置此功能。
另外,authentication_timeout 是全局配置,不是放在某个 proxy 中的。
@dsf848dfgvs commented on GitHub (Jan 12, 2017):
好的,非常期待内置的tcp加速功能。
@dsf848dfgvs commented on GitHub (Jan 12, 2017):
frpc.ini 客户端这样就对了吧?
`[common]
server_addr = x.x.x.x
server_port = 7000
auth_token = 123
log_file = ./frpc.log
log_level = error
log_max_days = 1
authentication_timeout = 0
[y1]
type = tcp
local_ip = 127.0.0.1
local_port = 5673
[y2]
type = tcp
local_ip = 127.0.0.1
local_port = 8349`
authentication_timeout = 0 客户端我也放到全局里面了。
@fatedier commented on GitHub (Jan 12, 2017):
authentication_timeout涉及到安全性,只能在 frps.ini 中设置。