frpc.toml 767 B

12345678910111213141516171819202122232425262728293031323334
  1. serverAddr = "8.137.120.225"
  2. serverPort = 7000
  3. # console or real logFile path like ./frpc.log
  4. log.to = "./logs/frpc.log"
  5. # trace, debug, info, warn, error
  6. log.level = "info"
  7. log.maxDays = 3
  8. # for authentication
  9. auth.method = "token"
  10. auth.token = "zswl@frp#token"
  11. # if tcp stream multiplexing is used, default is true, it must be same with frps
  12. transport.tcpMux = true
  13. # communication protocol used to connect to server
  14. # now it supports tcp and kcp and websocket, default is tcp
  15. transport.protocol = "tcp"
  16. # if tls_enable is true, frpc will connect frps by tls
  17. transport.tls.enable = true
  18. [[proxies]]
  19. name = "auth_center"
  20. type = "tcp"
  21. localIp = "192.168.31.98"
  22. localPort = 8700
  23. remotePort = 8700
  24. transport.useEncryption = true
  25. transport.useCompression = true