| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- serverAddr = "8.137.120.225"
- serverPort = 7000
- # console or real logFile path like ./frpc.log
- log.to = "./logs/frpc.log"
- # trace, debug, info, warn, error
- log.level = "info"
- log.maxDays = 3
- # for authentication
- auth.method = "token"
- auth.token = "zswl@frp#token"
- # if tcp stream multiplexing is used, default is true, it must be same with frps
- transport.tcpMux = true
- # communication protocol used to connect to server
- # now it supports tcp and kcp and websocket, default is tcp
- transport.protocol = "tcp"
- # if tls_enable is true, frpc will connect frps by tls
- transport.tls.enable = true
- # [[proxies]]
- # name = "auth_center"
- # type = "tcp"
- # localIp = "192.168.31.98"
- # localPort = 8700
- # remotePort = 8700
- # transport.useEncryption = true
- # transport.useCompression = true
- #[[proxies]]
- #name = "pay_demo"
- #type = "tcp"
- #localIp = "192.168.31.98"
- #localPort = 9090
- #remotePort = 9090
- #transport.useEncryption = true
- #transport.useCompression = true
- [[proxies]]
- name = "pay_demo"
- type = "http"
- localIp = "192.168.31.98"
- localPort = 9090
- customDomains = ["consumerend.demo.danceyouth.cn"]
- transport.useEncryption = true
- transport.useCompression = true
|