跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 如何实现通过中转机连接多台落地鸡?
未分類
29 4 月 2023

如何实现通过中转机连接多台落地鸡?

charles97 大佬有话说 :

如何实现通过中转机连接多台落地鸡?

由于经常要用到不同的IP,比如我现在有3台落地VPS(VPS新加坡,VPS韩国,VPS英国), 1台速度快的中转机(日本鸡), 用x-ui 如何实现通过日本机想连哪个落地鸡就连哪个落地鸡啊。谢谢大佬指点, 日本鸡连本地想用vless协议,日本鸡连3台落地的应该可以用vmess协议吧。

gupo 大佬有话说 :

自定义outbounds了解下

charles97 大佬有话说 :

gupo 大佬有话说 : 2023-4-29 18:32
自定义outbounds了解下

X-UI的协议我问了GPT,是下面这么写的,但是我没弄明白,本地的V2RAY,如何设置,按道理本地的v2ray,应该有配置3个服务器配置才对,分别对应3个不同的落地机
{
"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": "your_vps_ip_1",
            "port": your_vps_port_1,
            "users": [
            {
                "id": "your_vps_uuid_1",
                "alterId": 64,
                "security": "auto"
            }
            ]
          }
      ]
      },
      "tag": "vps1"
    },
    {
      "protocol": "vmess",
      "settings": {
      "vnext": [
          {
            "address": "your_vps_ip_2",
            "port": your_vps_port_2,
            "users": [
            {
                "id": "your_vps_uuid_2",
                "alterId": 64,
                "security": "auto"
            }
            ]
          }
      ]
      },
      "tag": "vps2"
    },
    {
      "protocol": "vmess",
      "settings": {
      "vnext": [
          {
            "address": "your_vps_ip_3",
            "port": your_vps_port_3,
            "users": [
            {
                "id": "your_vps_uuid_3",
                "alterId": 64,
                "security": "auto"
            }
            ]
          }
      ]
      },
      "tag": "vps3"
    },
    {
      "protocol": "freedom",
      "settings": {},
      "tag": "direct"
    },
    {
      "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": [
      {
      "inboundTag": [
          "api"
      ],
      "outboundTag": "api",
      "type": "field"
      },
      {
      "ip": [
          "geoip:private"
      ],
      "outboundTag": "blocked",
      "type": "field"
      },
   {
      "outboundTag": "blocked",
      "protocol": [
          "bittorrent"
      ],
      "type": "field"
      },
      {
      "type": "field",
      "network": "tcp,udp",
      "domain": [
          "domain1.example",
          "domain2.example"
      ],
      "outboundTag": "vps1"
      },
      {
      "type": "field",
      "network": "tcp,udp",
      "domain": [
          "domain3.example",
          "domain4.example"
      ],
      "outboundTag": "vps2"
      },
      {
      "type": "field",
      "network": "tcp,udp",
      "domain": [
          "domain5.example",
          "domain6.example"
      ],
      "outboundTag": "vps3"
      }
    ]
},
"stats": {}
}

charles97 大佬有话说 :

gupo 大佬有话说 : 2023-4-29 18:32
自定义outbounds了解下

我感觉应该在inbound那里要设置一下,设置3个端口,创建3个服务器配置,分别对应outbound那里的vps1 vps2 vps3

colla 大佬有话说 :

只能域名分流连不同的落地,做不到想连哪个就连哪个

yuanyuexiaoni 大佬有话说 :

楼上正解,当然你用ss的话可以用mmp-go靠密码分流。不论如何,你客户端是要配三个节点的。

damoo 大佬有话说 :

最简单的就是日本装个gost 3个端口中转3台鸡

charles97 大佬有话说 :

damoo 大佬有话说 : 2023-4-29 18:47
最简单的就是日本装个gost 3个端口中转3台鸡

谢谢,我来学习下,还没用过gost

charles97 大佬有话说 :

colla 大佬有话说 : 2023-4-29 18:44
只能域名分流连不同的落地,做不到想连哪个就连哪个

谢谢大佬指点,那就不用折腾这个方向了

charles97 大佬有话说 :

yuanyuexiaoni 大佬有话说 : 2023-4-29 18:46
楼上正解,当然你用ss的话可以用mmp-go靠密码分流。不论如何,你客户端是要配三个节点的。 …

谢谢指点

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具