mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 15:45:39 +00:00
all: change passwd to auth_token and improve authentication
This commit is contained in:
@@ -6,10 +6,11 @@ server_port = 7000
|
||||
log_file = console
|
||||
# debug, info, warn, error
|
||||
log_level = debug
|
||||
# for authentication
|
||||
auth_token = 123
|
||||
|
||||
# test1 is the proxy name same as server's configuration
|
||||
[test1]
|
||||
passwd = 123
|
||||
local_ip = 127.0.0.1
|
||||
local_port = 22
|
||||
# true or false, if true, messages between frps and frpc will be encrypted, default is false
|
||||
|
@@ -7,8 +7,8 @@ log_file = console
|
||||
# debug, info, warn, error
|
||||
log_level = debug
|
||||
|
||||
# test1 is the proxy name, client will use this name and passwd to connect to server
|
||||
# test1 is the proxy name, client will use this name and auth_token to connect to server
|
||||
[test1]
|
||||
passwd = 123
|
||||
auth_token = 123
|
||||
bind_addr = 0.0.0.0
|
||||
listen_port = 6000
|
||||
|
Reference in New Issue
Block a user