-
Notifications
You must be signed in to change notification settings - Fork 5
/
config_demo.yml
59 lines (58 loc) · 1.67 KB
/
config_demo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
############################################################################################
#
# LTProxy
# by L
#
#----------------------------------- Format ------------------------------------------------
# rules:
# - proxies:
# - <socks_type> <host> <port> [username] [password]
# - ...
# target:
# - <target> <ports>
# - ...
#
# - ...
#
# 字段解释
# proxies:
# socks_type 代理的类型,目前支持 socks5/socks4/socks4a (最后一层代理目前仅支持 socks5)
# host 代理地址
# port 代理端口
# username 如需认证可添上
# password 如需认证可添上
# target:
# target 需要透明代理的目标地址,支持格式:192.168.*.* 10.0.0.0/8 192.168.1.1 等
# 还支持别名 intranet extranet any,用于内网、外网和所有的选择
# ports 可选默认 any, 支持格式:22,8000-9000 等
#
# ----------------------------------- Example ----------------------------------------------
#
# rules:
# - proxies:
# - direct
# target:
# - 192.168.12.*
#
# - proxies:
# - socks5 12.12.12.12 1080 twelve password
# - socks4 172.16.1.2 1088
# - socks5 19.128.1.2 8888 admin admin
# target:
# - 19.*.*.*
# - 1.1.1.1
# - intranet 22,7000-9000
# - 18.7.0.0/16
#
# - proxies:
# - socks5 21.21.21.21 1080
# target:
# - extranet
#
#
############################################################################################
rules:
- proxies:
- socks5 12.12.12.12 1080
target:
- 192.168.*.*