frps.ini 633 B

12345678910111213141516171819202122232425262728
  1. # [common] is integral section
  2. [common]
  3. bind_addr = 0.0.0.0
  4. bind_port = 7000
  5. # optional
  6. vhost_http_port = 80
  7. # console or real logFile path like ./frps.log
  8. log_file = ./frps.log
  9. # debug, info, warn, error
  10. log_level = info
  11. # ssh is the proxy name, client will use this name and auth_token to connect to server
  12. [ssh]
  13. type = tcp
  14. auth_token = 123
  15. bind_addr = 0.0.0.0
  16. listen_port = 6000
  17. [web01]
  18. type = http
  19. auth_token = 123
  20. # if proxy type equals http, custom_domains must be set separated by commas
  21. custom_domains = web01.yourdomain.com,web01.yourdomain2.com
  22. [web02]
  23. type = http
  24. auth_token = 123
  25. custom_domains = web02.yourdomain.com