v2ray 並連接到代理伺服器

v2ray 並連接到代理伺服器

我想使用魷魚代理在兩台伺服器之間建立http代理。我的一個 vps(編號 1)在伊朗(centos 7),另一個(編號 2)在其他國家。我在 vps 2 上安裝了魷魚代理,在 vps 1 上安裝了 v2ray。

{
  "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": {}
}

但是當我在 v2ray 中建立帳戶時,它不起作用並且失敗了。請幫我用魷魚代理和 v2ray 腳本製作一個代理,以繞過伊朗的網路審查。感謝您的幫助。

相關內容