frpc.ini 858 B

12345678910111213141516171819202122232425262728293031323334
  1. # [common] is integral section
  2. [common]
  3. server_addr = 0.0.0.0
  4. server_port = 7000
  5. # console or real logFile path like ./frpc.log
  6. log_file = ./frpc.log
  7. # debug, info, warn, error
  8. log_level = info
  9. log_max_days = 3
  10. # for authentication
  11. auth_token = 123
  12. # ssh is the proxy name same as server's configuration
  13. [ssh]
  14. # tcp | http, default is tcp
  15. type = tcp
  16. local_ip = 127.0.0.1
  17. local_port = 22
  18. # true or false, if true, messages between frps and frpc will be encrypted, default is false
  19. use_encryption = true
  20. # default is false
  21. use_gzip = false
  22. # Resolve your domain names to [server_addr] so you can use http://web01.yourdomain.com to browse web01 and http://web02.yourdomain.com to browse web02, the domains are set in frps.ini
  23. [web01]
  24. type = http
  25. local_ip = 127.0.0.1
  26. local_port = 80
  27. use_gzip = true
  28. [web02]
  29. type = http
  30. local_ip = 127.0.0.1
  31. local_port = 8000