V2ray免流配置-使用Xray实现联通免流

  • A+
所属分类:软件
摘要

虽然我是用的xray,但这个配置v2ray肯定也是可以用的,因为就一个vmess+http伪装。

腾了一下联通免流,没想到过程还挺顺利的,坐标武汉联通测试可用。

下面直接给一份服务端的配置文件吧:(需要自建V2ray服务端)

{
    "log": {
        "loglevel": "warning"
    },
    "inbounds": [
        {
            "listen": "0.0.0.0",
            "port": 80,
            "protocol": "vmess",
            "settings": {
                "clients": [
                    {
                        "id": "04e09d0b-aaf9-41c0-9e06-879f5838c748" // 填写你生成的UUID
                    }
                ]
            },
            "streamSettings": {
                "network": "tcp",
                "tcpSettings": {
                    "header": {
                        "type": "http",
                        "response": {
                            "version": "1.1",
                            "status": "200",
                            "reason": "OK",
                            "headers": {
                                "Content-Type": ["application/octet-stream", "video/mpeg"],
                                "Transfer-Encoding": ["chunked"],
                                "Connection": ["keep-alive"],
                                "Pragma": "no-cache"
                            }
                        }
                    }
                }
            }
        }
    ],
    "outbounds": [
        {
            "protocol": "freedom"
        }
    ]
}

我没有测试除80端口外的其他端口是否可行,有兴趣的可以自己测试一下。

客户端我用的shadowrocket,配置如下:

编辑节点——传输方式——选择http——host填:pull.free.video.10010.com

测试了一下,完全OK.

虽然我是用的xray,但这个配置v2ray肯定也是可以用的,因为就一个vmess+http伪装。

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: