2017-05-21 18:40:45 +00:00
|
|
|
; codec: utf-8
|
|
|
|
|
|
|
|
[common]
|
2017-11-25 08:18:56 +00:00
|
|
|
; 'log-file' define the log file location. if not set, default locate
|
2017-12-18 05:34:14 +00:00
|
|
|
; to $INSTDIR%/data/log/tpcore.log
|
2017-05-21 18:40:45 +00:00
|
|
|
;log-file=/var/log/teleport/tpcore.log
|
|
|
|
|
2017-11-25 08:18:56 +00:00
|
|
|
; log-level can be 0 ~ 4, default value is 2.
|
|
|
|
; LOG_LEVEL_DEBUG 0 log every-thing.
|
|
|
|
; LOG_LEVEL_VERBOSE 1 log every-thing but without debug message.
|
|
|
|
; LOG_LEVEL_INFO 2 log infomation/warning/error message.
|
|
|
|
; LOG_LEVEL_WARN 3 log warning and error message.
|
|
|
|
; LOG_LEVEL_ERROR 4 log error message only.
|
2017-05-21 18:40:45 +00:00
|
|
|
log-level=2
|
|
|
|
|
2017-11-25 08:18:56 +00:00
|
|
|
; 0/1. default to 0.
|
|
|
|
; in debug mode, `log-level` force to 0 and display more message for debug purpose.
|
2017-05-21 18:40:45 +00:00
|
|
|
debug-mode=0
|
|
|
|
|
2017-11-25 08:18:56 +00:00
|
|
|
; 'replay-path' define the replay file location. if not set, default locate
|
2017-12-18 05:34:14 +00:00
|
|
|
; to `$INSTDIR%/data/replay`
|
2017-05-21 18:40:45 +00:00
|
|
|
;replay-path=/var/lib/teleport/replay
|
|
|
|
|
2017-11-25 08:18:56 +00:00
|
|
|
; `web-server-rpc` is the rpc interface of web server.
|
|
|
|
; default to `http://127.0.0.1:7190/rpc`.
|
|
|
|
; DO NOT FORGET update this setting if you modified common::port in web.ini.
|
2017-05-21 18:40:45 +00:00
|
|
|
web-server-rpc=http://127.0.0.1:7190/rpc
|
|
|
|
|
|
|
|
[rpc]
|
|
|
|
; Request by web server. `bind-ip` should be the ip of core server. If web server and
|
2017-12-18 05:34:14 +00:00
|
|
|
; core server running at the same machine, it should be `127.0.0.1`.
|
|
|
|
; DO NOT FORGET update `common::core-server-rpc` in web.ini if you modified this setting.
|
2017-11-25 08:18:56 +00:00
|
|
|
bind-ip=127.0.0.1
|
2017-05-21 18:40:45 +00:00
|
|
|
bind-port=52080
|
|
|
|
|
|
|
|
[protocol-ssh]
|
|
|
|
enabled=true
|
|
|
|
lib=tpssh
|
|
|
|
bind-ip=0.0.0.0
|
|
|
|
bind-port=52189
|
|
|
|
|
|
|
|
[protocol-rdp]
|
2017-12-13 15:22:42 +00:00
|
|
|
enabled=true
|
2017-05-21 18:40:45 +00:00
|
|
|
lib=tprdp
|
|
|
|
bind-ip=0.0.0.0
|
|
|
|
bind-port=52089
|
|
|
|
|
|
|
|
[protocol-telnet]
|
|
|
|
enabled=false
|
|
|
|
lib=tptelnet
|
|
|
|
bind-ip=0.0.0.0
|
|
|
|
bind-port=52389
|
|
|
|
|