frpc.ini 828 B

1234567891011121314151617181920212223242526272829303132
  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. # 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
  21. [web01]
  22. type = http
  23. local_ip = 127.0.0.1
  24. local_port = 80
  25. use_encryption = true
  26. [web02]
  27. type = http
  28. local_ip = 127.0.0.1
  29. local_port = 8000