
ich möchte einen Squid-Proxy verwenden, um einen HTTP-Proxy zwischen zwei Servern einzurichten. Einer meiner VPS (Nummer 1) befindet sich im Iran (CentOS 7) und der andere (Nummer 2) in einem anderen Land. Ich habe den Squid-Proxy auf VPS 2 und V2Ray auf VPS 1 installiert. Ich konfiguriere ausgehendes V2Ray folgendermaßen:
{
"log": {
"loglevel": "warning",
"access": "./access.log"
},
"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": "vmess",
"settings": {
"vnext": [
{
"address": "1.1.1.1",
"port": 8888,
"users": [
{
"alterId": 64,
"id": "b12614c5-5ca4-4eba-a215-c61d642116ce"
}
]
}
]
},
"tag": "VMESS",
"proxySettings": {
"tag": "HTTP"
}
},
{
"protocol": "http",
"settings": {
"servers": [
{
"address": "my ip vps2",
"port": 3128,
"users": [
{
"user": "username",
"pass": "password"
}
]
}
]
},
"tag": "HTTP"
}
,
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"levels": {
"0": {
"statsUserUplink": true,
"statsUserDownlink": true
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}
aber wenn ich ein Konto in v2ray erstelle, funktioniert es nicht und schlägt fehl. Bitte helfen Sie mir, einen Proxy mit Squid-Proxy und v2ray-Skript zu erstellen, um die Internetzensur im Iran zu umgehen. Danke für Ihre Hilfe.