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