1
0

frps_full.ini 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # [common] is integral section
  2. [common]
  3. # A literal address or host name for IPv6 must be enclosed
  4. # in square brackets, as in "[::1]:80", "[ipv6-host]:http" or "[ipv6-host%zone]:80"
  5. bind_addr = 0.0.0.0
  6. bind_port = 7000
  7. # udp port used for kcp protocol, it can be same with 'bind_port'
  8. # if not set, kcp is disabled in frps
  9. kcp_bind_port = 7000
  10. # specify which address proxy will listen for, default value is same with bind_addr
  11. # proxy_bind_addr = 127.0.0.1
  12. # if you want to support virtual host, you must set the http port for listening (optional)
  13. vhost_http_port = 80
  14. vhost_https_port = 443
  15. # set dashboard_port to view dashboard of frps
  16. dashboard_port = 7500
  17. # dashboard user and pwd for basic auth protect, if not set, both default value is admin
  18. dashboard_user = admin
  19. dashboard_pwd = admin
  20. # dashboard assets directory(only for debug mode)
  21. # assets_dir = ./static
  22. # console or real logFile path like ./frps.log
  23. log_file = ./frps.log
  24. # trace, debug, info, warn, error
  25. log_level = info
  26. log_max_days = 3
  27. # privilege mode is the only supported mode since v0.10.0
  28. privilege_token = 12345678
  29. # heartbeat configure, it's not recommended to modify the default value
  30. # the default value of heartbeat_timeout is 90
  31. # heartbeat_timeout = 90
  32. # only allow frpc to bind ports you list, if you set nothing, there won't be any limit
  33. privilege_allow_ports = 2000-3000,3001,3003,4000-50000
  34. # pool_count in each proxy will change to max_pool_count if they exceed the maximum value
  35. max_pool_count = 5
  36. # authentication_timeout means the timeout interval (seconds) when the frpc connects frps
  37. # if authentication_timeout is zero, the time is not verified, default is 900s
  38. authentication_timeout = 900
  39. # if subdomain_host is not empty, you can set subdomain when type is http or https in frpc's configure file
  40. # when subdomain is test, the host used by routing is test.frps.com
  41. subdomain_host = frps.com
  42. # if tcp stream multiplexing is used, default is true
  43. tcp_mux = true