frps_full.ini 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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 to help make udp hole to penetrate nat
  8. bind_udp_port = 7001
  9. # udp port used for kcp protocol, it can be same with 'bind_port'
  10. # if not set, kcp is disabled in frps
  11. kcp_bind_port = 7000
  12. # specify which address proxy will listen for, default value is same with bind_addr
  13. # proxy_bind_addr = 127.0.0.1
  14. # if you want to support virtual host, you must set the http port for listening (optional)
  15. vhost_http_port = 80
  16. vhost_https_port = 443
  17. # set dashboard_addr and dashboard_port to view dashboard of frps
  18. # dashboard_addr's default value is same with bind_addr
  19. # dashboard is available only if dashboard_port is set
  20. dashboard_addr = 0.0.0.0
  21. dashboard_port = 7500
  22. # dashboard user and pwd for basic auth protect, if not set, both default value is admin
  23. dashboard_user = admin
  24. dashboard_pwd = admin
  25. # dashboard assets directory(only for debug mode)
  26. # assets_dir = ./static
  27. # console or real logFile path like ./frps.log
  28. log_file = ./frps.log
  29. # trace, debug, info, warn, error
  30. log_level = info
  31. log_max_days = 3
  32. # privilege mode is the only supported mode since v0.10.0
  33. privilege_token = 12345678
  34. # heartbeat configure, it's not recommended to modify the default value
  35. # the default value of heartbeat_timeout is 90
  36. # heartbeat_timeout = 90
  37. # only allow frpc to bind ports you list, if you set nothing, there won't be any limit
  38. privilege_allow_ports = 2000-3000,3001,3003,4000-50000
  39. # pool_count in each proxy will change to max_pool_count if they exceed the maximum value
  40. max_pool_count = 5
  41. # max ports can be used for each client, default value is 0 means no limit
  42. max_ports_per_client = 0
  43. # authentication_timeout means the timeout interval (seconds) when the frpc connects frps
  44. # if authentication_timeout is zero, the time is not verified, default is 900s
  45. authentication_timeout = 900
  46. # if subdomain_host is not empty, you can set subdomain when type is http or https in frpc's configure file
  47. # when subdomain is test, the host used by routing is test.frps.com
  48. subdomain_host = frps.com
  49. # if tcp stream multiplexing is used, default is true
  50. tcp_mux = true