add support for command line

This commit is contained in:
fatedier
2016-03-14 00:21:40 +08:00
parent 838dc10c6e
commit 975c2a97c8
13 changed files with 2449 additions and 16 deletions

View File

@@ -2,7 +2,8 @@
[common]
server_addr = 127.0.0.1
server_port = 7000
log_file = ./frpc.log
# console or real logFile path like ./frpc.log
log_file = console
# debug, info, warn, error
log_level = debug
# file, console

View File

@@ -2,11 +2,10 @@
[common]
bind_addr = 0.0.0.0
bind_port = 7000
log_file = ./frps.log
# console or real logFile path like ./frps.log
log_file = console
# debug, info, warn, error
log_level = debug
# file, console
log_way = file
# test1 is the proxy name, client will use this name and passwd to connect to server
[test1]