frpc.ini 811 B

12345678910111213141516171819202122232425262728293031
  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. # for authentication
  10. auth_token = 123
  11. # ssh is the proxy name same as server's configuration
  12. [ssh]
  13. # tcp | http, default is tcp
  14. type = tcp
  15. local_ip = 127.0.0.1
  16. local_port = 22
  17. # true or false, if true, messages between frps and frpc will be encrypted, default is false
  18. use_encryption = true
  19. # 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
  20. [web01]
  21. type = http
  22. local_ip = 127.0.0.1
  23. local_port = 80
  24. use_encryption = true
  25. [web02]
  26. type = http
  27. local_ip = 127.0.0.1
  28. local_port = 8000