mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 07:35:07 +00:00
added heartbeat conf
This commit is contained in:
@@ -22,6 +22,11 @@ auth_token = 123
|
||||
# for privilege mode
|
||||
privilege_token = 12345678
|
||||
|
||||
# [optional] heartbeat conf
|
||||
# heartbeat_interval default value is 20, heartbeat_timeout default value is 90
|
||||
heartbeat_interval = 20
|
||||
heartbeat_timeout = 90
|
||||
|
||||
|
||||
# ssh is the proxy name same as server's configuration
|
||||
[ssh]
|
||||
|
@@ -30,6 +30,10 @@ log_max_days = 3
|
||||
privilege_mode = true
|
||||
privilege_token = 12345678
|
||||
|
||||
# [optional]heartbeat conf
|
||||
# heartbeat_timeout default value is 90
|
||||
heartbeat_timeout = 90
|
||||
|
||||
# only allow frpc to bind ports you list, if you set nothing, there won't be any limit
|
||||
privilege_allow_ports = 2000-3000,3001,3003,4000-50000
|
||||
|
||||
|
Reference in New Issue
Block a user