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

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 不懂就问序列!关于V2ray 中转V2ray 的问题
未分類
4 2 月 2020

不懂就问序列!关于V2ray 中转V2ray 的问题

acejava 大佬有话说 : 2020-1-17 14:15:07

不懂就问序列!关于V2ray 中转V2ray 的问题

各位大佬们,现在的中转机跟落地机都安装好V2了,中转机需要怎么配置才能实现啊,看了白话教程(代理转发?还是国内中转?),复用上面的代码一直不成功。不知道怎么配置。能提供下例子吗?多谢。

wycrow 大佬有话说 : 2020-1-17 14:20:49

不懂什么是中转什么是落地

思路就是用ws+tls过墙 国内随便了 socks5就行

PA-fan 大佬有话说 : 2020-1-17 14:21:08

看原版文档,白话文这部分写得比较简略,

acejava 大佬有话说 : 2020-1-17 14:21:16

我现在中转机这样配有错嘛。各位看看呢。
{
"log" : {
    "access": "/var/log/v2ray/access.log",
    "error": "/var/log/v2ray/error.log",
    "loglevel": "warning"
},
"inbounds": [
    {
      "port": 10937,
      "protocol": "vmess",
      "settings": {
      "clients": [
          {
            "id": "1dac6f6c-bd9c-41da-93c2-1de7f5de5b86",//中转机ID
            "level": 1,
            "alterId": 32
          }
      ]
      }
    }
],
"outbounds": [
    {
      "protocol": "vmess",
      "settings": {
      "vnext": [
          {
            "address": "xxx.xxx.xxx.xxx",//落地机IP
            "port": 10937,
            "users": [
                {"id": "ebfa47cc-781e-425b-8a49-de986c6cff25"}
            ]
          }
      ]
      }
    },
    {
      "protocol": "blackhole",
      "settings": {},
      "tag": "block"
    },
    {
      "protocol": "freedom",
      "tag": "direct",
      "settings": {}
    }
],
"routing": {
   "domainStrategy": "IPOnDemand",
    "strategy": "rules",
    "rules": [
      {
      "type": "field",
      "ip": [
          "geoip:cn"
      ],
      "outboundTag": "block"
      },
      {
      "type": "field",
      "domain": [
          "geosite:cn"
      ],
      "outboundTag": "direct"
      },
      {
      "type": "field",
      "ip": [
          "geoip:cn"
      ]
      "outboundTag": "direct"
      }
    ]
}
}

suantong 大佬有话说 : 2020-1-17 14:21:59

耐心电,很简单的。无非就是json结构了大了点。
v2ray应该把inbound,outbound,routing分成多个配置,现在一坨在哪儿,看着吓人:lol

plyu007 大佬有话说 : 2020-1-17 14:42:49

中转机直接转发就行了,简单

文章導覽

上一篇文章
下一篇文章

AD

其他操作

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

51la

4563博客

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