2016-05-17 19:13:37 +08:00
|
|
|
[common]
|
|
|
|
server_addr = 0.0.0.0
|
|
|
|
server_port = 10700
|
|
|
|
log_file = ./frpc.log
|
|
|
|
# debug, info, warn, error
|
|
|
|
log_level = debug
|
2017-03-10 00:52:32 +08:00
|
|
|
privilege_token = 123456
|
2016-05-17 19:13:37 +08:00
|
|
|
|
|
|
|
[echo]
|
|
|
|
type = tcp
|
|
|
|
local_ip = 127.0.0.1
|
|
|
|
local_port = 10701
|
2017-03-10 00:52:32 +08:00
|
|
|
remote_port = 10711
|
2016-05-17 19:13:37 +08:00
|
|
|
use_encryption = true
|
2017-03-10 00:52:32 +08:00
|
|
|
use_compression = true
|
2016-05-17 19:13:37 +08:00
|
|
|
|
|
|
|
[web]
|
|
|
|
type = http
|
|
|
|
local_ip = 127.0.0.1
|
|
|
|
local_port = 10702
|
2017-03-10 00:52:32 +08:00
|
|
|
use_encryption = true
|
|
|
|
use_compression = true
|
|
|
|
custom_domains = 127.0.0.1
|
2017-03-28 00:27:30 +08:00
|
|
|
|
|
|
|
[udp]
|
|
|
|
type = udp
|
|
|
|
local_ip = 127.0.0.1
|
|
|
|
local_port = 10703
|
|
|
|
remote_port = 10712
|
2017-05-21 22:42:42 +08:00
|
|
|
|
|
|
|
[unix_domain]
|
|
|
|
type = tcp
|
|
|
|
remote_port = 10704
|
|
|
|
plugin = unix_domain_socket
|
|
|
|
plugin_unix_path = /tmp/frp_echo_server.sock
|