全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 731|回复: 5

[美国VPS] warp分流解锁gpt

[复制链接]
发表于 2023-12-12 13:22:32 来自手机 | 显示全部楼层 |阅读模式
问下大佬们,用warp去解锁chatgpt。现在有两个方案,第一,用warp的ipv6,只有gpt走v6,别的都走v4,但是不知道怎么分流,还是说v6只能全局。第二用socks5去分流,好像也要配置文件,能不能求一个配置文件,或者给个教程,感谢大佬
发表于 2023-12-12 13:25:37 来自手机 | 显示全部楼层
https://gitlab.com/fscarmen/warp
发表于 2023-12-12 13:26:37 | 显示全部楼层
{
"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"
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"tag": "media-unlock",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "127.0.0.1",
"port": 这里改成warp的端口,
"users": []
}
]
}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"levels": {
"0": {
"handshake": 10,
"connIdle": 100,
"uplinkOnly": 2,
"downlinkOnly": 3,
"statsUserUplink": true,
"statsUserDownlink": true,
"bufferSize": 10240
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"type": "field",
"domain": [
"openai.com",
"netflix.com",
"myip.com"
],
"outboundTag": "media-unlock"
},
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}
 楼主| 发表于 2023-12-12 13:29:08 来自手机 | 显示全部楼层
4⠀ 发表于 2023-12-12 13:26
{
"api": {
"services": [

感谢感谢,直接把xui里的配置文件替换了就行了吗?还是在里面添加这个
 楼主| 发表于 2023-12-12 13:30:58 来自手机 | 显示全部楼层
4⠀ 发表于 2023-12-12 13:26
{
"api": {
"services": [

大佬,warp的端口?warp不是只有一个ip吗?
 楼主| 发表于 2023-12-12 13:32:09 来自手机 | 显示全部楼层
NEXT666 发表于 2023-12-12 13:25
https://gitlab.com/fscarmen/warp

感谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-20 17:02 , Processed in 0.060918 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表