推荐使用最新的Reality自建翻墙代理,目前最稳的自建协议。下面是各个系统的客户端推荐和配置使用教程,包括IOS/安卓/Windows/Mac/Linux各个平台支持reality的客户端代理软件
一、Windows
1.v2rayN
下载地址:https://github.com/2dust/v2rayN
需要先下载Xray-core
Xray-Core需要1.8.1以上
放到bin\Xray文件夹中
导入:
复制通用格式,然后点击“服务器--从剪贴板导入批量URL”
或者自己填写:右上角服务器--添加VLESS服务器 SNI就填回落域名,用户ID是账号
v2rayN教程:
回到主页面,右键该节点--设置为活动服务器
简单点,直接设置为系统代理,这样整个电脑都走这个软件。
Clash meta相关文档:https://docs.metacubex.one/
2.Clash Verge rev
Clash Verge 是另一个跨平台的 Clash 代理软件,相比 Clash for Windows,体积更小,运行时占用资源更低,设置更少使用更简单,自带中文语言.且可以一键更改内核为clash.meta
使用tauri写的clash GUI。支持Windows, macOS和Linux,发布一年了,支持中文。
一键切换内核:
英文:Setting--Clash Core--/Clash-Meta--RESTART
中文:设置--Clash内核--/Clash-Meta--重启内核
3.Clash-nyanpasu
Win/Mac/Linux
下载
界面简约点清新
4.GUI.for.Clash
Win/Mac/Linux 全协议 。 vue3 + wails开发
下载
5.GUI.for.Clash
Win/Mac/Linux 全协议 。 不支持ssr
下载
6.Hiddify
全平台 , 使用简单但bug多 ,不支持ssr 。伊朗人开发的。
7.FlClash
支持mac、hwindow和安卓。 Flutter开发,仿Surfboard
8.ClashN
下载地址:https://github.com/2dust/clashN
A clash client for Windows, supports Clash core and Clash.Meta core
clash配置例子,点击展开
grcp:
```
- name: reality-grpc
server: ip地址
type: vless
port: 端口
uuid: 你的uuid
network: grpc
servername: 回落域名
flow: ""
udp: true
tls: true
reality-opts:
public-key: 公钥publicKey
client-fingerprint: chrome
grpc-opts:
grpc-service-name: grpc
```
或者
```
- {name: reality-grpc, server: ip地址, type: vless, port: 端口, uuid: 你的uuid ,network: grpc, servername: 回落域名, flow: "", udp: true, tls: true, reality-opts: { public-key: 公钥publicKey }, client-fingerprint: chrome, grpc-opts: {grpc-service-name: grpc } }
```
tcp:
```
- name: reality-tcp
server: vpsIP地址
type: vless
port: 端口
uuid: 你的uuid
network: tcp
servername: 允许客户端访问的域名,对应的是服务端 serverNames
flow: xtls-rprx-vision
udp: true
tls: true
reality-opts:
public-key: 公钥publicKey
client-fingerprint: chrome
```
9.nekoray
下载地址:https://github.com/MatsuriDayo/nekoray
10.Clash for Windows
下载地址:https://github.com/Fndroid/clash_for_windows_pkg/releases
需自己替换内核为Clash.Meta,
(一般64位的选clash.meta-windows-amd64,x86:32位系统专用)
内核名字改为clash-win64.exe。替换文件:clash-win64.exe ,默认Clash安装目录:C:\Program Files\Clash for Windows\resources\static\files\win\x64
二、MacOS
1.Clash Verge rev
同上
2.Clash-nyanpasu
同上
3.GUI.for.Clash
同上
4.GUI.for.Clash
同上
5.FlClash
同上
6.Hiddify
同上
7.Clash for Windows
下载地址:https://github.com/Fndroid/clash_for_windows_pkg/releases
同上改内核Clash.Meta, 内核选择:
intel选darwin-amd64 ,m1、m2选darwin-arm64
替换文件:
intel、ARM(M1、M2):/Applications/Clash\ for\ Windows.app/Contents/Resources/static/files/darwin/x64/
(找不到就右键Clash for Windows--选项--在访达中显示--打开应用程序--右键Clash for Windows--显示包内容)
需要下载v1.14.3+的core,mac的名字改为clash-darwin ,关闭clash后,替换文件,在当前目录打开终端执行: chmod +x clash-darwin ,将这个文件改为可执行文件。重新打开文件。
8.ClashX.Meta
下载地址:https://github.com/MetaCubeX/ClashX.Meta
和clashX 使用差不多的。
9.Foxray
下载地址:https://apps.apple.com/us/app/foxray/id6448898396?l=zh
原来的wingsX,改名了。见下方ios部分。
10.V2RayXS
下载地址:https://github.com/tzmax/V2RayXS/releases
GUI for xray-core on macOS
支持VLESS and XTLS
三、IOS
1.Shadowrocket
正式版2.2.30(1947)版本以上。
复制一键订阅后打开小火箭即可自动导入。
2.strisand
IOS ,新出,使用简单
3.Karing
支持Win/Mac/IOS/Android,全协议 ,功能多但不够美观
免费下载
4、Potatso Pro
全协议。
使用简单。2.99$下载 | 用的人不多
5.Foxray
https://apps.apple.com/us/app/foxray/id6448898396?l=zh
需要IOS 16以上
原来的wingsX,改名了。导入挺方便的。foxray TG频道
可以一键导入。
导入说明
从左到右分别为:手动添加节点,摄像头扫二维码添加,扫描本地二维码图片添加,从剪贴板粘贴添加节点
填对应的ip,端口,uuid和域名。
手动添加reality-tcp和reality-grpc节点
不过目前会全局模式访问网络。还需要导入规则:
下面是规则
规则,点击展开
```
foxray://eyJkbnMiOnsic2Vjb25kVGFnIjoiZGlyZWN0IiwiZGlzYWJsZUZhbGxiYWNrIjpmYWxzZSwicXVlcnlTdHJhdGVneSI6IlVzZUlQIiwibmFtZVNlcnZlcnMiOlt7ImFkZHJlc3MiOiIyMjMuNS41LjUiLCJkb21haW5zIjpbXSwiaXAiOltdLCJpZCI6IjNDOTEyNTRFLUJBRTYtNDE1Ni1BNDIxLUVFNTlDMUIwMDJBNSIsImV4cGVjdElQcyI6WyJDTiJdLCJkb21haW5UeXBlIjoiZG9tYWluIiwidHlwZSI6InN0YW5kYXJkIiwiZ2VvRG9tYWluIjpbXSwic2tpcEZhbGxiYWNrIjpmYWxzZSwibmFtZSI6ImFsaWRucyJ9LHsiYWRkcmVzcyI6IjguOC44LjgiLCJkb21haW5zIjpbXSwiaXAiOltdLCJpZCI6IjhDQjQ2MTY2LUZCNzgtNEQ0My1BNEY4LUYwOTZGNEI0NzkxMCIsImV4cGVjdElQcyI6W10sImRvbWFpblR5cGUiOiJkb21haW4iLCJ0eXBlIjoic3RhbmRhcmQiLCJnZW9Eb21haW4iOltdLCJza2lwRmFsbGJhY2siOmZhbHNlLCJuYW1lIjoiZ29vZ2xlLWRucyJ9XSwiZGlzYWJsZUNhY2hlIjpmYWxzZSwiZGlzYWJsZUZhbGxiYWNrSWZNYXRjaCI6ZmFsc2UsImRlZmF1bHREbnMiOiI4LjguOC44IiwibmFtZSI6ImNuLWRucyIsIm91dGJvdW5kVGFnIjoiZGlyZWN0In0sIm5hbWVTZXJ2ZXJzIjpbeyJhZGRyZXNzIjoiMjIzLjUuNS41IiwiZG9tYWlucyI6W10sImlwIjpbXSwiaWQiOiIzQzkxMjU0RS1CQUU2LTQxNTYtQTQyMS1FRTU5QzFCMDAyQTUiLCJleHBlY3RJUHMiOlsiQ04iXSwiZG9tYWluVHlwZSI6ImRvbWFpbiIsInR5cGUiOiJzdGFuZGFyZCIsImdlb0RvbWFpbiI6W10sInNraXBGYWxsYmFjayI6ZmFsc2UsIm5hbWUiOiJhbGlkbnMifSx7ImFkZHJlc3MiOiI4LjguOC44IiwiZG9tYWlucyI6W10sImlwIjpbXSwiaWQiOiI4Q0I0NjE2Ni1GQjc4LTRENDMtQTRGOC1GMDk2RjRCNDc5MTAiLCJleHBlY3RJUHMiOltdLCJkb21haW5UeXBlIjoiZG9tYWluIiwidHlwZSI6InN0YW5kYXJkIiwiZ2VvRG9tYWluIjpbXSwic2tpcEZhbGxiYWNrIjpmYWxzZSwibmFtZSI6Imdvb2dsZS1kbnMifV19
```
```
foxray://eyJyb3V0ZXIiOnsicnVsZXMiOlt7ImRvbWFpbiI6W10sImdlb2lwIjpbInByaXZhdGUiXSwiaWQiOiJBOTU1QTFFRi0wMzZELTQ1NDItQjEzQy0zNDhEMTI1MUUxOEUiLCJkb21haW5UeXBlIjoiZG9tYWluIiwidGFnIjoiZGlyZWN0IiwiZ2VvRG9tYWluIjpbXSwidHlwZSI6IklQIiwibmFtZSI6InByaXZhdGVJcCIsImlwIjpbXX0seyJkb21haW4iOlsienVjaGUuY29tIl0sImdlb2lwIjpbXSwiaWQiOiI2NzI3NzFBQy1CRERELTRGRjYtODIyMS1EOTJDM0QxQTc4QjMiLCJkb21haW5UeXBlIjoiZG9tYWluIiwidGFnIjoiZGlyZWN0IiwiZ2VvRG9tYWluIjpbInByaXZhdGUiLCJhcHBsZSIsImJpbmciLCJjbiJdLCJ0eXBlIjoiRG9tYWluIiwibmFtZSI6ImNuIiwiaXAiOltdfV0sIm5hbWUiOiJjbi1kaXJlY3QiLCJkZWZhdWx0VGFnIjoicHJveHkiLCJkb21haW5TdHJhdGVneSI6IkFzSXMifSwicnVsZXMiOlt7ImRvbWFpbiI6W10sImdlb2lwIjpbInByaXZhdGUiXSwiaWQiOiJBOTU1QTFFRi0wMzZELTQ1NDItQjEzQy0zNDhEMTI1MUUxOEUiLCJkb21haW5UeXBlIjoiZG9tYWluIiwidGFnIjoiZGlyZWN0IiwiZ2VvRG9tYWluIjpbXSwidHlwZSI6IklQIiwibmFtZSI6InByaXZhdGVJcCIsImlwIjpbXX0seyJkb21haW4iOlsienVjaGUuY29tIl0sImdlb2lwIjpbXSwiaWQiOiI2NzI3NzFBQy1CRERELTRGRjYtODIyMS1EOTJDM0QxQTc4QjMiLCJkb21haW5UeXBlIjoiZG9tYWluIiwidGFnIjoiZGlyZWN0IiwiZ2VvRG9tYWluIjpbInByaXZhdGUiLCJhcHBsZSIsImJpbmciLCJjbiJdLCJ0eXBlIjoiRG9tYWluIiwibmFtZSI6ImNuIiwiaXAiOltdfV19
```
分别复制后点击主页的“从剪贴板粘贴”,最后一个那个,一键导入配置。然后分别点击主页顶部的“路由”和"DNS"页面,选中刚才导入的配置,点击底部的“保存”。
6.V2Box
- 支持 Shadowsocks, v2ray, trojan,vless,vmess
- 支持 Reality (xray)
- 支持 vless vision
- 支持 utls
支持IOS 15,很多vless软件不支持IOS 16,V2Box缺点是有广告,作者说都是谷歌广告,不收集用户信息。
使用很简单。
导入说明
点击下方Configs:
可以复制通用订阅,然后点击软件右上角加号--Import V2ray URI from Clipboard--
(或者点击右上角加号--ScanQR,扫订阅的二维码)
选择节点--点击下方Home--点击Slide to Connet即可
7.sing-box for ios/sfi
下载和文档:https://sing-box.sagernet.org/installation/clients/sfi/
ios sing-box reality-tcp配置模版,略长,点击展开
```
{
"log": {
"disabled": false,
"level": "error",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "dns-remote",
"address": "https://dns.google/dns-query",
"address_resolver": "dns-direct",
"address_strategy": "ipv4_only",
"strategy": "ipv4_only",
"detour": "proxy"
},
{
"tag": "dns-direct",
"address": "https://dns.alidns.com/dns-query",
"address_resolver": "dns-local",
"address_strategy": "ipv4_only",
"strategy": "ipv4_only",
"detour": "direct"
},
{
"tag": "dns-local",
"address": "local",
"detour": "direct"
},
{
"tag": "dns-block",
"address": "rcode://success"
},
{
"tag": "dns-fake",
"address": "fakeip",
"strategy": "ipv4_only"
}
],
"rules": [
{
"geosite": "private",
"server": "dns-local"
},
{
"geosite": "category-ads-all",
"server": "dns-block",
"disable_cache": true
},
{
"inbound": "tun-in",
"query_type": [
"A",
"AAAA"
],
"geosite": "geolocation-!cn",
"server": "dns-fake",
"rewrite_ttl": 999999999
},
{
"geosite": [
"category-games@cn",
"cn"
],
"server": "dns-direct"
}
],
"final": "dns-remote",
"reverse_mapping": true,
"fakeip": {
"enabled": true,
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
},
"strategy": "ipv4_only",
"independent_cache": true
},
"inbounds": [
{
"type": "mixed",
"tag": "mixed-in",
"listen": "127.0.0.1",
"listen_port": 2080,
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
},
{
"type": "direct",
"tag": "dns-in",
"listen": "127.0.0.1",
"listen_port": 6450,
"override_address": "8.8.8.8",
"override_port": 53
},
{
"type": "tun",
"tag": "tun-in",
"mtu": 9000,
"inet4_address": "172.19.0.1/30",
"inet6_address": "fdfe:dcba:9876::1/126",
"auto_route": true,
"strict_route": true,
"endpoint_independent_nat": true,
"stack": "system",
"platform": {
"http_proxy": {
"enabled": true,
"server": "127.0.0.1",
"server_port": 2080
}
},
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
}
],
"outbounds": [
{
"type": "vless",
"tag": "proxy",
"server": "", // 服务端的 IP
"server_port": 443,
"uuid": "", // 与服务端一致
"flow": "xtls-rprx-vision",
"tls": {
"enabled": true,
"server_name": "", // 与服务端一致
"utls": {
"enabled": true,
"fingerprint": "chrome" // 使用 uTLS 库模拟客户端 TLS 指纹
},
"reality": {
"enabled": true,
"public_key": "", // 填 "PublicKey" 的值
"short_id": "" // 与服务端一致
}
},
"packet_encoding": "xudp"
},
{
"type": "direct",
"tag": "direct"
},
{
"type": "direct",
"tag": "bypass"
},
{
"type": "block",
"tag": "block"
},
{
"type": "dns",
"tag": "dns-out"
}
],
"route": {
"geoip": {
"download_url": "https://github.com/soffchen/sing-geoip/releases/latest/download/geoip.db",
"download_detour": "proxy"
},
"geosite": {
"download_url": "https://github.com/soffchen/sing-geosite/releases/latest/download/geosite.db",
"download_detour": "proxy"
},
"rules": [
{
"port": 53,
"outbound": "dns-out"
},
{
"inbound": "dns_in",
"outbound": "dns-out"
},
{
"protocol": "dns",
"outbound": "dns-out"
},
{
"geosite": "private",
"outbound": "bypass"
},
{
"network": "udp",
"port": 443,
"outbound": "block"
},
{
"geosite": "category-ads-all",
"outbound": "block"
},
{
"geosite": [
"category-games@cn",
"cn"
],
"outbound": "direct"
},
{
"geoip": [
"cn",
"private"
],
"outbound": "bypass"
}
],
"final": "proxy",
"auto_detect_interface": true
},
"experimental": {
"clash_api": {
"external_controller": "127.0.0.1:9090",
"external_ui": "clash_api",
"external_ui_download_detour": "proxy",
"default_mode": "rule",
"store_fakeip": true,
"cache_file": "cache.db"
}
}
}
```
ios sing-box reality-grcp配置模版,和tcp不一样的就是outbond部分,点击展开
```
{
"log": {
"disabled": false,
"level": "error",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "dns-remote",
"address": "https://dns.google/dns-query",
"address_resolver": "dns-direct",
"address_strategy": "ipv4_only",
"strategy": "ipv4_only",
"detour": "proxy"
},
{
"tag": "dns-direct",
"address": "https://dns.alidns.com/dns-query",
"address_resolver": "dns-local",
"address_strategy": "ipv4_only",
"strategy": "ipv4_only",
"detour": "direct"
},
{
"tag": "dns-local",
"address": "local",
"detour": "direct"
},
{
"tag": "dns-block",
"address": "rcode://success"
},
{
"tag": "dns-fake",
"address": "fakeip",
"strategy": "ipv4_only"
}
],
"rules": [
{
"geosite": "private",
"server": "dns-local"
},
{
"geosite": "category-ads-all",
"server": "dns-block",
"disable_cache": true
},
{
"inbound": "tun-in",
"query_type": [
"A",
"AAAA"
],
"geosite": "geolocation-!cn",
"server": "dns-fake",
"rewrite_ttl": 999999999
},
{
"geosite": [
"category-games@cn",
"cn"
],
"server": "dns-direct"
}
],
"final": "dns-remote",
"reverse_mapping": true,
"fakeip": {
"enabled": true,
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
},
"strategy": "ipv4_only",
"independent_cache": true
},
"inbounds": [
{
"type": "mixed",
"tag": "mixed-in",
"listen": "127.0.0.1",
"listen_port": 2080,
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
},
{
"type": "direct",
"tag": "dns-in",
"listen": "127.0.0.1",
"listen_port": 6450,
"override_address": "8.8.8.8",
"override_port": 53
},
{
"type": "tun",
"tag": "tun-in",
"mtu": 9000,
"inet4_address": "172.19.0.1/30",
"inet6_address": "fdfe:dcba:9876::1/126",
"auto_route": true,
"strict_route": true,
"endpoint_independent_nat": true,
"stack": "system",
"platform": {
"http_proxy": {
"enabled": true,
"server": "127.0.0.1",
"server_port": 2080
}
},
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
}
],
"outbounds": [
{
"type": "vless",
"tag": "proxy",
"server": "", // 服务端的 IP
"server_port": 443,
"uuid": "", // 与服务端一致
"flow": "", // 留空
"tls": {
"enabled": true,
"server_name": "", // 与服务端一致
"utls": {
"enabled": true,
"fingerprint": "chrome" // 使用 uTLS 库模拟客户端 TLS 指纹
},
"reality": {
"enabled": true,
"public_key": "", // 填 "PublicKey" 的值
"short_id": "" // 与服务端一致
}
},
"packet_encoding": "xudp",
"transport": {
"type": "grpc",
"service_name": "grpc" // 与服务端一致
}
},
{
"type": "direct",
"tag": "direct"
},
{
"type": "direct",
"tag": "bypass"
},
{
"type": "block",
"tag": "block"
},
{
"type": "dns",
"tag": "dns-out"
}
],
"route": {
"geoip": {
"download_url": "https://github.com/soffchen/sing-geoip/releases/latest/download/geoip.db",
"download_detour": "proxy"
},
"geosite": {
"download_url": "https://github.com/soffchen/sing-geosite/releases/latest/download/geosite.db",
"download_detour": "proxy"
},
"rules": [
{
"port": 53,
"outbound": "dns-out"
},
{
"inbound": "dns_in",
"outbound": "dns-out"
},
{
"protocol": "dns",
"outbound": "dns-out"
},
{
"geosite": "private",
"outbound": "bypass"
},
{
"network": "udp",
"port": 443,
"outbound": "block"
},
{
"geosite": "category-ads-all",
"outbound": "block"
},
{
"geosite": [
"category-games@cn",
"cn"
],
"outbound": "direct"
},
{
"geoip": [
"cn",
"private"
],
"outbound": "bypass"
}
],
"final": "proxy",
"auto_detect_interface": true
},
"experimental": {
"clash_api": {
"external_controller": "127.0.0.1:9090",
"external_ui": "clash_api",
"external_ui_download_detour": "proxy",
"default_mode": "rule",
"store_fakeip": true,
"cache_file": "cache.db"
}
}
}
```
点击Profiles-New Profile--Name随便起名字--Create--点击刚才创建的配置--Edit Content--删除里面的本来的{}--复制粘贴配置进去--check检查下弹窗success表示格式正确
short_id 可以空。
ios:sfi不支持system stack,所以配置里面用的是gvisor。
9.meta for ios/mfi
下载地址:https://t.me/meta_for_ios
支持meta的ios clash客户端
mfi拷贝clash配置到proxies中,注意 - 换行
rules:复制粘贴你电脑里面的clash 规则到rules,下面的规则是不完整的。
grpc例子,点击展开
```
mixed-port: 7890
log-level: info
mode: rule
ipv6: true
external-controller: 127.0.0.1:9090
tcp-concurrent: true
sniffer:
enable: true
sniffing:
- http
- tls
dns:
enable: true
listen: 127.0.0.1:53
ipv6: true
enhanced-mode: normal
fake-ip-range: 198.18.0.1/16
default-nameserver:
- 114.114.114.114
- 223.5.5.5
proxies:
-
name: reality-grpc
server: 代理服务器ip
type: vless
port: 443
uuid: uuid
network: grpc
servername: 回落域名
flow: ""
udp: true
tls: true
reality-opts:
public-key: 公钥
client-fingerprint: chrome
grpc-opts:
grpc-service-name: grpc
proxy-groups:
-
name: '节点选择'
type: select
proxies:
- 'reality-grpc'
rules:
- DOMAIN-KEYWORD,google,节点选择
- DOMAIN-KEYWORD,instagram,节点选择
- DOMAIN-KEYWORD,telegram,节点选择
- DOMAIN-KEYWORD,twitter,节点选择
- DOMAIN-KEYWORD,youtube,节点选择
```
Clash meta相关文档:https://docs.metacubex.one/
https://clash-meta.wiki/
Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 客户端,[clash-rules](https://github.com/Loyalsoldier/clash-rules)
四、Android
1.v2rayNG
下载地址:https://github.com/2dust/v2rayNG/releases
使用也挺方便的,直接复制通用订阅,点击右上角加号--从剪切板导入--然后连接
或者扫二维码导入。
都是一样的。
2.NekoBoxForAndroid
下载地址:https://github.com/MatsuriDayo/NekoBoxForAndroid/releases
使用也挺方便的,直接复制通用订阅,点击右上角加号--从剪切板导入--然后连接
3、hiddify
同上
4.FlClash
5.Clash Meta for Android
下载地址:https://github.com/MetaCubeX/ClashMetaForAndroid
cfa的样式的,导入clash配置即可。
6.sing-box
下载地址:https://sing-box.sagernet.org/zh/installation/clients/sfa/
安卓 sing-box reality-tcp配置模版,安卓10以上,略长,点击展开
```
{
"log": {
"disabled": false,
"level": "error",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "dns-remote",
"address": "https://dns.google/dns-query",
"address_resolver": "dns-direct",
"address_strategy": "ipv4_only",
"strategy": "ipv4_only",
"detour": "proxy"
},
{
"tag": "dns-direct",
"address": "https://223.5.5.5/dns-query",
"strategy": "ipv4_only",
"detour": "direct"
},
{
"tag": "dns-local",
"address": "local",
"detour": "direct"
},
{
"tag": "dns-block",
"address": "rcode://success"
},
{
"tag": "dns-fake",
"address": "fakeip",
"strategy": "ipv4_only"
}
],
"rules": [
{
"geosite": "private",
"server": "dns-direct"
},
{
"geosite": "category-ads-all",
"server": "dns-block",
"disable_cache": true
},
{
"inbound": "tun-in",
"query_type": [
"A",
"AAAA"
],
"geosite": "geolocation-!cn",
"server": "dns-fake",
"rewrite_ttl": 999999999
},
{
"geosite": [
"category-games@cn",
"cn"
],
"server": "dns-direct"
}
],
"final": "dns-remote",
"reverse_mapping": true,
"fakeip": {
"enabled": true,
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
},
"strategy": "ipv4_only",
"independent_cache": true
},
"inbounds": [
{
"type": "mixed",
"tag": "mixed-in",
"listen": "127.0.0.1",
"listen_port": 2080,
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
},
{
"type": "direct",
"tag": "dns-in",
"listen": "127.0.0.1",
"listen_port": 6450,
"override_address": "8.8.8.8",
"override_port": 53
},
{
"type": "tun",
"tag": "tun-in",
"mtu": 9000,
"inet4_address": "172.19.0.1/30",
"inet6_address": "fdfe:dcba:9876::1/126",
"auto_route": true,
"strict_route": true,
"inet4_route_address": [
"0.0.0.0/1",
"128.0.0.0/1",
"198.18.0.0/15"
],
"inet6_route_address": [
"::/1",
"8000::/1",
"fc00::/18"
],
"endpoint_independent_nat": true,
"stack": "gvisor",
"platform": {
"http_proxy": {
"enabled": true,
"server": "127.0.0.1",
"server_port": 2080
}
},
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
}
],
"outbounds": [
{
"type": "vless",
"tag": "proxy",
"server": "", // 服务端的 IP
"server_port": 443,
"uuid": "", // 与服务端一致
"flow": "xtls-rprx-vision",
"tls": {
"enabled": true,
"server_name": "", // 与服务端一致
"utls": {
"enabled": true,
"fingerprint": "chrome" // 使用 uTLS 库模拟客户端 TLS 指纹
},
"reality": {
"enabled": true,
"public_key": "", // 填 "PublicKey" 的值
"short_id": "" // 与服务端一致
}
},
"packet_encoding": "xudp"
},
{
"type": "direct",
"tag": "direct"
},
{
"type": "direct",
"tag": "bypass"
},
{
"type": "block",
"tag": "block"
},
{
"type": "dns",
"tag": "dns-out"
}
],
"route": {
"geoip": {
"download_url": "https://github.com/soffchen/sing-geoip/releases/latest/download/geoip.db",
"download_detour": "proxy"
},
"geosite": {
"download_url": "https://github.com/soffchen/sing-geosite/releases/latest/download/geosite.db",
"download_detour": "proxy"
},
"rules": [
{
"port": 53,
"outbound": "dns-out"
},
{
"inbound": "dns_in",
"outbound": "dns-out"
},
{
"protocol": "dns",
"outbound": "dns-out"
},
{
"geosite": "private",
"outbound": "bypass"
},
{
"network": "udp",
"port": 443,
"outbound": "block"
},
{
"geosite": "category-ads-all",
"outbound": "block"
},
{
"geosite": [
"category-games@cn",
"cn"
],
"outbound": "direct"
},
{
"geoip": [
"cn",
"private"
],
"outbound": "bypass"
}
],
"final": "proxy",
"auto_detect_interface": true
},
"experimental": {
"clash_api": {
"external_controller": "127.0.0.1:9090",
"external_ui": "clash_api",
"external_ui_download_detour": "proxy",
"default_mode": "rule",
"store_fakeip": true,
"cache_file": "cache.db"
}
}
}
```
安卓 sing-box reality-grpc配置模版,安卓10以上,略长,点击展开
```
{
"log": {
"disabled": false,
"level": "error",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "dns-remote",
"address": "https://dns.google/dns-query",
"address_resolver": "dns-direct",
"address_strategy": "ipv4_only",
"strategy": "ipv4_only",
"detour": "proxy"
},
{
"tag": "dns-direct",
"address": "https://223.5.5.5/dns-query",
"strategy": "ipv4_only",
"detour": "direct"
},
{
"tag": "dns-local",
"address": "local",
"detour": "direct"
},
{
"tag": "dns-block",
"address": "rcode://success"
},
{
"tag": "dns-fake",
"address": "fakeip",
"strategy": "ipv4_only"
}
],
"rules": [
{
"geosite": "private",
"server": "dns-direct"
},
{
"geosite": "category-ads-all",
"server": "dns-block",
"disable_cache": true
},
{
"inbound": "tun-in",
"query_type": [
"A",
"AAAA"
],
"geosite": "geolocation-!cn",
"server": "dns-fake",
"rewrite_ttl": 999999999
},
{
"geosite": [
"category-games@cn",
"cn"
],
"server": "dns-direct"
}
],
"final": "dns-remote",
"reverse_mapping": true,
"fakeip": {
"enabled": true,
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
},
"strategy": "ipv4_only",
"independent_cache": true
},
"inbounds": [
{
"type": "mixed",
"tag": "mixed-in",
"listen": "127.0.0.1",
"listen_port": 2080,
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
},
{
"type": "direct",
"tag": "dns-in",
"listen": "127.0.0.1",
"listen_port": 6450,
"override_address": "8.8.8.8",
"override_port": 53
},
{
"type": "tun",
"tag": "tun-in",
"mtu": 9000,
"inet4_address": "172.19.0.1/30",
"inet6_address": "fdfe:dcba:9876::1/126",
"auto_route": true,
"strict_route": true,
"inet4_route_address": [
"0.0.0.0/1",
"128.0.0.0/1",
"198.18.0.0/15"
],
"inet6_route_address": [
"::/1",
"8000::/1",
"fc00::/18"
],
"endpoint_independent_nat": true,
"stack": "gvisor",
"platform": {
"http_proxy": {
"enabled": true,
"server": "127.0.0.1",
"server_port": 2080
}
},
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
}
],
"outbounds": [
{
"type": "vless",
"tag": "proxy",
"server": "", // 服务端的 IP
"server_port": 443,
"uuid": "", // 与服务端一致
"flow": "", // 留空
"tls": {
"enabled": true,
"server_name": "", // 与服务端一致
"utls": {
"enabled": true,
"fingerprint": "chrome" // 使用 uTLS 库模拟客户端 TLS 指纹
},
"reality": {
"enabled": true,
"public_key": "", // 填 "PublicKey" 的值
"short_id": "" // 与服务端一致
}
},
"packet_encoding": "xudp",
"transport": {
"type": "grpc",
"service_name": "grpc" // 与服务端一致
}
},
{
"type": "direct",
"tag": "direct"
},
{
"type": "direct",
"tag": "bypass"
},
{
"type": "block",
"tag": "block"
},
{
"type": "dns",
"tag": "dns-out"
}
],
"route": {
"geoip": {
"download_url": "https://github.com/soffchen/sing-geoip/releases/latest/download/geoip.db",
"download_detour": "proxy"
},
"geosite": {
"download_url": "https://github.com/soffchen/sing-geosite/releases/latest/download/geosite.db",
"download_detour": "proxy"
},
"rules": [
{
"port": 53,
"outbound": "dns-out"
},
{
"inbound": "dns_in",
"outbound": "dns-out"
},
{
"protocol": "dns",
"outbound": "dns-out"
},
{
"geosite": "private",
"outbound": "bypass"
},
{
"network": "udp",
"port": 443,
"outbound": "block"
},
{
"geosite": "category-ads-all",
"outbound": "block"
},
{
"geosite": [
"category-games@cn",
"cn"
],
"outbound": "direct"
},
{
"geoip": [
"cn",
"private"
],
"outbound": "bypass"
}
],
"final": "proxy",
"auto_detect_interface": true
},
"experimental": {
"clash_api": {
"external_controller": "127.0.0.1:9090",
"external_ui": "clash_api",
"external_ui_download_detour": "proxy",
"default_mode": "rule",
"store_fakeip": true,
"cache_file": "cache.db"
}
}
}
```
我手机不是安卓10,自测吧。
安卓10以下也可以用的:outbounds里面的自行替换就好。不重复了。
安卓 sing-box reality配置模版,安卓10以下也可以用,略长,点击展开
```
{
"log": {
"disabled": false,
"level": "error",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "dns-remote",
"address": "https://dns.google/dns-query",
"address_resolver": "dns-direct",
"address_strategy": "ipv4_only",
"strategy": "ipv4_only",
"detour": "proxy"
},
{
"tag": "dns-direct",
"address": "https://223.5.5.5/dns-query",
"strategy": "ipv4_only",
"detour": "direct"
},
{
"tag": "dns-local",
"address": "local",
"detour": "direct"
},
{
"tag": "dns-block",
"address": "rcode://success"
},
{
"tag": "dns-fake",
"address": "fakeip",
"strategy": "ipv4_only"
}
],
"rules": [
{
"geosite": "private",
"server": "dns-direct"
},
{
"geosite": "category-ads-all",
"server": "dns-block",
"disable_cache": true
},
{
"inbound": "tun-in",
"query_type": [
"A",
"AAAA"
],
"geosite": "geolocation-!cn",
"server": "dns-fake",
"rewrite_ttl": 999999999
},
{
"geosite": [
"category-games@cn",
"cn"
],
"server": "dns-direct"
}
],
"final": "dns-remote",
"reverse_mapping": true,
"fakeip": {
"enabled": true,
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
},
"strategy": "ipv4_only",
"independent_cache": true
},
"inbounds": [
{
"type": "mixed",
"tag": "mixed-in",
"listen": "127.0.0.1",
"listen_port": 2080,
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
},
{
"type": "direct",
"tag": "dns-in",
"listen": "127.0.0.1",
"listen_port": 6450,
"override_address": "8.8.8.8",
"override_port": 53
},
{
"type": "tun",
"tag": "tun-in",
"mtu": 9000,
"inet4_address": "172.19.0.1/30",
"inet6_address": "fdfe:dcba:9876::1/126",
"auto_route": true,
"strict_route": true,
"inet4_route_address": [
"0.0.0.0/1",
"128.0.0.0/1",
"198.18.0.0/15"
],
"inet6_route_address": [
"::/1",
"8000::/1",
"fc00::/18"
],
"endpoint_independent_nat": true,
"stack": "gvisor",
"sniff": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
}
],
"outbounds": [
{
"tag": "proxy"
//换成你的节点,注意tag必须为proxy,参考上方的
},
{
"type": "direct",
"tag": "direct"
},
{
"type": "direct",
"tag": "bypass"
},
{
"type": "block",
"tag": "block"
},
{
"type": "dns",
"tag": "dns-out"
}
],
"route": {
"geoip": {
"download_url": "https://github.com/soffchen/sing-geoip/releases/latest/download/geoip.db",
"download_detour": "proxy"
},
"geosite": {
"download_url": "https://github.com/soffchen/sing-geosite/releases/latest/download/geosite.db",
"download_detour": "proxy"
},
"rules": [
{
"port": 53,
"outbound": "dns-out"
},
{
"inbound": "dns_in",
"outbound": "dns-out"
},
{
"protocol": "dns",
"outbound": "dns-out"
},
{
"geosite": "private",
"outbound": "bypass"
},
{
"network": "udp",
"port": 443,
"outbound": "block"
},
{
"geosite": "category-ads-all",
"outbound": "block"
},
{
"geosite": [
"category-games@cn",
"cn"
],
"outbound": "direct"
},
{
"geoip": [
"cn",
"private"
],
"outbound": "bypass"
}
],
"final": "proxy",
"auto_detect_interface": true
},
"experimental": {
"clash_api": {
"external_controller": "127.0.0.1:9090",
"external_ui": "clash_api",
"external_ui_download_detour": "proxy",
"default_mode": "rule",
"store_fakeip": true,
"cache_file": "cache.db"
}
}
}
```
6.clash meta for magisk
适合想捣鼓的
五、Linux
1.Clash Verge Rev
2.Clash-nyanpasu
3.Singbox
4.Hiddify
5.FlClash
6.GUI.for.Clash
7.GUI.for.SingBox
六、Openwrt
ShellClash :通过管理脚本在Shell环境下便捷使用Clash,支持在Shell环境下管理Clash各种功能
OpenClash :一个可运行在 OpenWrt 上的 Clash 客户端.兼容 Shadowsocks、ShadowsocksR、Vmess、Trojan、Snell 等协议,根据灵活的规则配置实现策略代。 教程
Merlin (KoolCenter 固件/paldier SWRT 固件):merlinclashcat TG频道
openwrt-xray :Prebuilt Xray binaries for OpenWrt
luci-app-xray :(Almost) full feature Xray client for OpenWrt
MerlinClash猫咪爬梯 :说明文档:https://mcreadme.gitbook.io/mc
e58695 : Clash 及其衍生版本均支持 TPROXY 透明代理