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

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 多Ip服务器搭建V2,如何实现源入源出
未分類
30 8 月 2021

多Ip服务器搭建V2,如何实现源入源出

mohanfeng 大佬有话说 :

多Ip服务器搭建V2,如何实现源入源出

        买了一台服务器30个ip,搭建x-ui,创建账号后怎么实现源IP入源Ip出?
        修改监听端口,修改V2客户端Ip,通过Ip111.cn查询后依然是主Ip。
        百度查了修改路由监听,添加标记,inboundTag,但是我一直没有成功,请问大佬哪里有教程吗?
        请求指点一二

乌拉擦 大佬有话说 :

我看刑,很可拷

sagerking 大佬有话说 :

mohanfeng 大佬有话说 : 2021-8-30 11:24
多个IP,就写多个是吧

以此类推好了
"inbounds": [
    {
    "port": 10001,
    "tag": "in1",
    "listen": "1.1.1.1",
      "protocol":"shadowsocks",
      "settings":{
            "method": "aes-256-gcm",
            "password": "password"
            }
      },
    {
    "port": 10001,
    "tag": "in2",
    "listen": "2.2.2.2",
      "protocol":"shadowsocks",
      "settings":{
            "method": "aes-256-gcm",
            "password": "password"
            }
      }
      ],

"outbounds": [
    {
      "tag":"out1",
      "protocol": "freedom",
      "sendThrough":"1.1.1.1"
    },
    {
      "tag":"out2",
      "protocol": "freedom",
      "sendThrough":"2.2.2.2"
    }
],

"routing": {
    "rules": [
      {
      "type": "field",
      "inboundTag": "in1",
      "outboundTag": "out1"
      },
      {
      "type": "field",
      "inboundTag": "in2",
      "outboundTag": "out2"
      }
    ]
}
}

dom1024 大佬有话说 :

小心给你来副银手镯

雪丫鬟 大佬有话说 :

成功以后告诉我下

guesser 大佬有话说 :

试试开30个小鸡,每个小鸡不同ip

省港澳白嫖王 大佬有话说 :

把这个"x-ui"容器化,可以用docker,容器单独配置ip

sagerking 大佬有话说 :

配置文件这样写,至于UI啥的,没用过
"inbounds": [
    {
    "port": 10001,
    "tag": "in",
    "listen": "1.1.1.1",
      "protocol":"shadowsocks",
      "settings":{
            "method": "aes-256-gcm",
            "password": "password"
            }
      }
      ],

"outbounds": [
    {
      "tag":"out",
      "protocol": "freedom",
      "sendThrough":"1.1.1.1"
    }
],

"routing": {
    "rules": [
      {
      "type": "field",
      "inboundTag": "in",
      "outboundTag": "out"
      }
    ]
}
}

mohanfeng 大佬有话说 :

sagerking 大佬有话说 : 2021-8-30 11:23
配置文件这样写,至于UI啥的,没用过

多个IP,就写多个是吧

tcpdump 大佬有话说 :

30个inbound,分别绑定不同的IP,同一个端口,路由配置sendThrough对应的IPhttps://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif

mohanfeng 大佬有话说 :

tcpdump 大佬有话说 : 2021-8-30 11:26
30个inbound,分别绑定不同的IP,同一个端口,路由配置sendThrough对应的IP

路由配置sendThrough对应的IP
这一句不懂,可否详细讲讲

文章導覽

上一篇文章
下一篇文章

AD

其他操作

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

51la

4563博客

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