一、所需工具

NekoBoxForAndroidhttps://github.com/MatsuriDayo/NekoBoxForAndroid/releases

NekorayForWindows: https://github.com/MatsuriDayo/nekoray/releases

Warp优选IP工具合集https://wwp.lanzoum.com/ip12T1rsojid

三合一工具包:

链接:https://pan.baidu.com/s/1qONKJJio5V9xdaHxQfPbxQ?pwd=yvpp
提取码:yvpp

二、生成VPN提供源

很多教程获取VPN提供源都需要使用Telegrem获取密钥,操作很麻烦,可以使用NekoBox移动端生成

使用模拟器或实体手机登录NekoBox移动端 => 工具 => Cloudflare Warp => 生成配置

可多次生成配置

image-20240501162700442

生成后可导出配置,点击分享图标 => 配置 => 导出到剪切板

image-20240501162820709

可以新建个文本文件保存起来,如下所示

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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"dns": {
"independent_cache": true,
"rules": [
{
"domain": [
"engage.cloudflareclient.com",
"dns.google"
],
"server": "dns-direct"
}
],
"servers": [
{
"address": "https://dns.google/dns-query",
"address_resolver": "dns-direct",
"strategy": "ipv4_only",
"tag": "dns-remote"
},
{
"address": "local",
"address_resolver": "dns-local",
"detour": "direct",
"strategy": "ipv4_only",
"tag": "dns-direct"
},
{
"address": "local",
"detour": "direct",
"tag": "dns-local"
},
{
"address": "rcode://success",
"tag": "dns-block"
}
]
},
"inbounds": [
{
"listen": "127.0.0.1",
"listen_port": 6450,
"override_address": "8.8.8.8",
"override_port": 53,
"tag": "dns-in",
"type": "direct"
},
{
"domain_strategy": "",
"endpoint_independent_nat": true,
"inet4_address": [
"172.19.0.1/28"
],
"mtu": 9000,
"sniff": true,
"sniff_override_destination": false,
"stack": "mixed",
"tag": "tun-in",
"type": "tun"
},
{
"domain_strategy": "",
"listen": "127.0.0.1",
"listen_port": 2080,
"sniff": true,
"sniff_override_destination": false,
"tag": "mixed-in",
"type": "mixed"
}
],
"log": {
"level": "panic"
},
"outbounds": [
{
"local_address": [
"172.16.0.2/32",
"2606:4700:110:8d10:350a:36fb:63e0:73d7/128"
],
"mtu": 1280,
"peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
"pre_shared_key": "",
"private_key": "qBXkMOTIgf4qBdr84n7UUMnLUs0FGEZabWMrbdDmtHE=",
"reserved": "WRDH",
"server": "engage.cloudflareclient.com",
"server_port": 2408,
"type": "wireguard",
"domain_strategy": "",
"tag": "proxy"
},
{
"tag": "direct",
"type": "direct"
},
{
"tag": "bypass",
"type": "direct"
},
{
"tag": "block",
"type": "block"
},
{
"tag": "dns-out",
"type": "dns"
}
],
"route": {
"auto_detect_interface": true,
"rules": [
{
"outbound": "dns-out",
"port": [
53
]
},
{
"inbound": [
"dns-in"
],
"outbound": "dns-out"
},
{
"ip_cidr": [
"224.0.0.0/3",
"ff00::/8"
],
"outbound": "block",
"source_ip_cidr": [
"224.0.0.0/3",
"ff00::/8"
]
}
]
}
}

其中,我们只要关注outbounds部分内容即可

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"local_address": [
"172.16.0.2/32",
"2606:4700:110:8d10:350a:36fb:63e0:73d7/128"
],
"mtu": 1280,
"peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
"pre_shared_key": "",
"private_key": "qBXkMOTIgf4qBdr84n7UUMnLUs0FGEZabWMrbdDmtHE=",
"reserved": "WRDH",
"server": "engage.cloudflareclient.com",
"server_port": 2408,
"type": "wireguard",
"domain_strategy": "",
"tag": "proxy"
}

三、优选IP

提供了两个不同版本的优选工具,可任选其一执行,执行优选前需停止所有代理

image-20240501163415724

优选后的IP结果会保存到相同目录下的 result.csv 文件内

image-20240501163529697

四、节点配置

打开Nekobox桌面版应用,首次使用选择 sing-box 内核

在空白处右键 => 手动输入配置

image-20240501164419519

类型选择 自定义(sing-boxa出站)

image-20240501164523756

将优选后的IPj节点及端口分别替换刚才模板中的 serverserver port 即可

image-20240501164751584

配置好后选择系统代理,选中刚才配置好的节点右键启动即可

image-20240501165011201

若要配置多个节点,克隆刚才配置的节点信息,双击进行编辑,修改节点名称,ip,端口即可

image-20240501165155192

五、安卓端配置

安卓 Termux执行代码 获取优选IP

执行命令时无需使用代理

先安装wget ,使用以下命令安装

1
pkg update && pkg install wget

遇到DO you want to contihue? 输入 Y/y ,遇到 [default = N] 输入 N/n 即可,直到出现以下界面

image-20240501172520568

获取Warp优选IP 主执行代码

1
wget -N https://gitlab.com/Misaka-blog/warp-script/-/raw/main/files/warp-yxip/warp-yxip.sh && bash warp-yxip.sh

有IPV4和 IPV6两种可供选择

image-20240501172951558

执行完毕后会提供10个优选IP

image-20240501173112868

生成好后修改服务器配置里的服务器及端口即可

image-20240501173235117

修改好后选择配置,点击小飞机即可连接

image-20240501173350325

参考

90S自制永久免费的电脑VPN,一个视频就够了!0成本无限流量跑8K,速度超快门槛超低,比机场快10倍的永久免费史诗级PC端VPN,惊为天人,国际后台,就是免费,管家级VPN教程,你也可成为VPN专家