frps.ini 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. vhost_https_port = 443
  8. # if you want to configure or reload frps by dashboard, dashboard_port must be set
  9. dashboard_port = 7500
  10. # console or real logFile path like ./frps.log
  11. log_file = ./frps.log
  12. # debug, info, warn, error
  13. log_level = info
  14. log_max_days = 3
  15. # if you enable privilege mode, frpc can create a proxy without pre-configure in frps when privilege_token is correct
  16. privilege_mode = true
  17. privilege_token = 12345678
  18. # ssh is the proxy name, client will use this name and auth_token to connect to server
  19. [ssh]
  20. type = tcp
  21. auth_token = 123
  22. bind_addr = 0.0.0.0
  23. listen_port = 6000
  24. [web01]
  25. # if type equals http, vhost_http_port must be set
  26. type = http
  27. auth_token = 123
  28. # if proxy type equals http, custom_domains must be set separated by commas
  29. custom_domains = web01.yourdomain.com,web01.yourdomain2.com
  30. [web02]
  31. # if type equals https, vhost_https_port must be set
  32. type = https
  33. auth_token = 123
  34. custom_domains = web02.yourdomain.com