frps.ini 835 B

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