# common
serverAddr = "1.2.3.4"
serverPort = 7000
auth.method = "token"
auth.token = "token123456"
# supports tcp, kcp, quic, websocket and wss now, default is tcp
transport.protocol = "tcp"

# dashboard
webServer.addr = "127.0.0.1"
webServer.port = 6000
webServer.user = "admin"
webServer.password = "password123456"
webServer.pprofEnable = false

# setting
loginFailExit = false
transport.tcpMux = false
transport.tls.enable = false
# transport.tls.certFile = "client.crt"
# transport.tls.keyFile = "client.key"
# transport.tls.trustedCaFile = "ca.crt"
# transport.tls.serverName = "example.com"

[[proxies]]
name = "rdp_tcp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 3389
remotePort = 13389

[[proxies]]
name = "rdp_udp"
type = "udp"
localIP = "127.0.0.1"
localPort = 3389
remotePort = 13389