frps.ini 650 B

1234567891011121314151617181920212223242526272829
  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. log_max_days = 3
  12. # ssh is the proxy name, client will use this name and auth_token to connect to server
  13. [ssh]
  14. type = tcp
  15. auth_token = 123
  16. bind_addr = 0.0.0.0
  17. listen_port = 6000
  18. [web01]
  19. type = http
  20. auth_token = 123
  21. # if proxy type equals http, custom_domains must be set separated by commas
  22. custom_domains = web01.yourdomain.com,web01.yourdomain2.com
  23. [web02]
  24. type = http
  25. auth_token = 123
  26. custom_domains = web02.yourdomain.com