k3系统OpenWrt v2.7 By stones
感谢lean提供的v2ray大家可以自行编译
文件下载 提取码: 9zzr

软件安装

下载文件上传到tmp目录
先安装opkg install v2ray_v3.39_arm_cortex-a9.ipk
在安装luci opkg install luci-app-v2ray_1.0-5_all.ipk
最后安装中文包luci-i18n-v2ray-zh-cn_1.0-5_all.ipk
QQ截图20180922111626.jpg

安装完成后就可以在服务选项里看到v2ray por了
QQ截图20180922111925.jpg

配置v2ray

创建配置文件
vi /etc/v2ray/config.json
放上我的配置给大家参考一下

{
  "inbound": {
    "port": 1080,
    "listen": "127.0.0.1",
    "protocol": "socks",
    "domainOverride": ["tls","http"],
    "settings": {
      "auth": "noauth",
      "udp": true
    }
  },
  "outbound": {
    "protocol": "vmess",
    "settings": {
      "vnext": [
        {
          "address": "klzl.cn",
          "port": 443,
          "users": [
            {
              "id": "7f43b638-dc47-11e7-9526-cec278b6b50a",
              "alterId": 64,
          "security": "aes-128-gcm"
            }
          ]
        }
      ]
    },
    "streamSettings": {
      "network": "ws",
      "security": "tls",
      "wsSettings": {
        "path": "/PATH/"
      }
    },
     "mux": {
      "enabled": true
    }
  },
"inboundDetour": [
     {
         "domainOverride": ["tls","http"],
         "port": 7070,
         "protocol": "dokodemo-door",
         "settings": {
             "network": "tcp,udp",
             "followRedirect": true
         }
     }
]
}

QQ截图20180922112032.jpg
配置完成后启动v2ray后测试能否连接
curl -x socks5://127.0.0.1:1080 google.com
出现下图说明安装成功
QQ截图20180922112516.jpg
QQ截图20180922113444.jpg

如果觉得我的文章对你有用,请随意赞赏