Upload frps/.ipynb_checkpoints/frps_full-checkpoint.ini with huggingface_hub
Browse files
frps/.ipynb_checkpoints/frps_full-checkpoint.ini
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# [common] 是一个综合部分
|
2 |
+
[common]
|
3 |
+
# 对于IPv6,字面地址或主机名必须用方括号括起来,例如 "[::1]:80"、"[ipv6-host]:http" 或 "[ipv6-host%zone]:80"
|
4 |
+
bind_addr = 0.0.0.0
|
5 |
+
bind_port = 7000
|
6 |
+
|
7 |
+
# 帮助创建UDP洞以穿透NAT的UDP端口
|
8 |
+
bind_udp_port = 7001
|
9 |
+
|
10 |
+
# KCP协议使用的UDP端口,可以与'bind_port'相同
|
11 |
+
# 如果未设置,则frps中禁用KCP
|
12 |
+
kcp_bind_port = 7000
|
13 |
+
|
14 |
+
# 指定代理将监听的地址,默认值与bind_addr相同
|
15 |
+
# proxy_bind_addr = 127.0.0.1
|
16 |
+
|
17 |
+
# 如果你想支持虚拟主机,必须设置用于监听的HTTP端口(可选)
|
18 |
+
# 注意:HTTP端口和HTTPS端口可以与bind_port相同
|
19 |
+
vhost_http_port = 80
|
20 |
+
vhost_https_port = 443
|
21 |
+
|
22 |
+
# 虚拟主机HTTP服务器的响应头超时时间(秒),默认是60秒
|
23 |
+
# vhost_http_timeout = 60
|
24 |
+
|
25 |
+
# 设置dashboard_addr和dashboard_port以查看frps的仪表板
|
26 |
+
# dashboard_addr的默认值与bind_addr相同
|
27 |
+
# 只有设置了dashboard_port,仪表板才可用
|
28 |
+
dashboard_addr = 0.0.0.0
|
29 |
+
dashboard_port = 7500
|
30 |
+
|
31 |
+
# 仪表板的基本认证保护的用户和密码,如果未设置,默认值都是admin
|
32 |
+
dashboard_user = admin
|
33 |
+
dashboard_pwd = admin
|
34 |
+
|
35 |
+
# 仪表板资源目录(仅用于调试模式)
|
36 |
+
# assets_dir = ./static
|
37 |
+
# 控制台或实际的日志文件路径,例如 ./frps.log
|
38 |
+
log_file = ./frps.log
|
39 |
+
|
40 |
+
# trace, debug, info, warn, error
|
41 |
+
log_level = info
|
42 |
+
|
43 |
+
log_max_days = 3
|
44 |
+
|
45 |
+
# 认证令牌
|
46 |
+
token = 12345678
|
47 |
+
|
48 |
+
# 心跳配置,不建议修改默认值
|
49 |
+
# heartbeat_timeout 的默认值是90
|
50 |
+
# heartbeat_timeout = 90
|
51 |
+
|
52 |
+
# 仅允许frpc绑定你列出的端口,如果未设置,则没有任何限制
|
53 |
+
allow_ports = 2000-3000,3001,3003,4000-50000
|
54 |
+
|
55 |
+
# 每个代理中的pool_count超过最大值时将变为max_pool_count
|
56 |
+
max_pool_count = 5
|
57 |
+
|
58 |
+
# 每个客户端可使用的最大端口数,默认值为0表示无限制
|
59 |
+
max_ports_per_client = 0
|
60 |
+
|
61 |
+
# 认证超时指frpc连接frps时的超时间隔(秒)
|
62 |
+
# 如果authentication_timeout为零,则不验证时间,默认是900秒
|
63 |
+
authentication_timeout = 900
|
64 |
+
|
65 |
+
# 如果subdomain_host不为空,当frpc配置文件中的类型为http或https时可以设置子域
|
66 |
+
# 当子域为test时,路由使用的主机是test.frps.com
|
67 |
+
subdomain_host = frps.com
|
68 |
+
|
69 |
+
# 如果使用TCP流多路复用,默认为true
|
70 |
+
tcp_mux = true
|