This commit is contained in:
fatedier 2020-02-04 21:34:46 +08:00
parent 4a4cf552af
commit 4feb74cb89
2 changed files with 4 additions and 4 deletions

View File

@ -546,10 +546,10 @@ allow_ports = 2000-3000,3001,3003,4000-50000
type = tcp type = tcp
local_port = 22 local_port = 22
remote_port = 6000 remote_port = 6000
bandwith_limit = 1MB bandwidth_limit = 1MB
``` ```
在代理配置中增加 `bandwith_limit` 字段启用此功能,目前仅支持 `MB``KB` 单位。 在代理配置中增加 `bandwidth_limit` 字段启用此功能,目前仅支持 `MB``KB` 单位。
### TCP 多路复用 ### TCP 多路复用

View File

@ -75,8 +75,8 @@ meta_var2 = 234
type = tcp type = tcp
local_ip = 127.0.0.1 local_ip = 127.0.0.1
local_port = 22 local_port = 22
# limit bandwith for this proxy, unit is KB and MB # limit bandwidth for this proxy, unit is KB and MB
bandwith_limit = 1MB bandwidth_limit = 1MB
# true or false, if true, messages between frps and frpc will be encrypted, default is false # true or false, if true, messages between frps and frpc will be encrypted, default is false
use_encryption = false use_encryption = false
# if true, message will be compressed # if true, message will be compressed