需求的由来:一般地区打不开解锁 套用warp socks模式就可以解锁了 但是有一些奇怪的地区 打不开奇怪的网站
比如JP 打不开某些sex的网站 套用warp也没用
HK的warp 也不解锁chatgpt
那么我们要如何操作呢?
首先 你得有另外一台解锁的机器/链接
然后创建一个SS SOCKS VM 节点
然后修改你的xray配置
{
“api”: {
“services”: [
“HandlerService”,
“LoggerService”,
“StatsService”
],
“tag”: “api”
},
“inbounds”: [
{
“listen”: “127.0.0.1”,
“port”: 62789,
“protocol”: “dokodemo-door”,
“settings”: {
“address”: “127.0.0.1”
},
“tag”: “api”
}
],
“log”: {
“error”: “./error.log”,
“loglevel”: “warning”
},
“outbounds”: [
{
“protocol”: “freedom”,
“settings”: {}
},
{
“protocol”: “blackhole”,
“settings”: {},
“tag”: “blocked”
},
{
“protocol”: “socks”,
“settings”: {
“servers”: [
{
“address”: “你的socks的ip”,
“port”: socks的端口
}
]
},
“tag”: “socks-out”
}
],
“policy”: {
“levels”: {
“0”: {
“statsUserDownlink”: true,
“statsUserUplink”: true
}
},
“system”: {
“statsInboundDownlink”: true,
“statsInboundUplink”: true
}
},
“routing”: {
“domainStrategy”: “IPIfNonMatch”,
“rules”: [
{
“inboundTag”: [
“api”
],
“outboundTag”: “api”,
“type”: “field”
},
{
“ip”: [
“geoip:private”
],
“outboundTag”: “blocked”,
“type”: “field”
},
{
“outboundTag”: “blocked”,
“protocol”: [
“bittorrent”
],
“type”: “field”
},
{
“domain”: [
“openai.com 这里填写你要代理的网站”
],
“outboundTag”: “socks-out”,
“type”: “field”
}
]
},
“stats”: {}
}
演示使用的socks 自己调整为vm tr 等安全协议 写法参考 https://xtls.github.io/config/#%E6%A6%82%E8%BF%B0