v2rayNG icon indicating copy to clipboard operation
v2rayNG copied to clipboard

纯http代理配置还是不成功

Open erbasisan opened this issue 2 years ago • 1 comments

没有用户名和密码的http代理我这里填写完还是不行

{

"inbounds": [
    {
        "port": 10800,

        "listen": "127.0.0.1",

        "protocol": "socks",

        "settings": {
            "udp": true
        }
    }
],

"outbounds": [
    {
        "protocol": "vmess",

        "settings": {
            "vnext": [
                {
                    "address": "114.12.125.45",

// 换成你的域名或服务器 IP(发起请求时无需解析域名了) "port": 9876,

                    "users": [
                        {
                            "id": "",

// 填写你的 UUID "security": "none",

                            "level": 0
                        }
                    ]
                }
            ]
        },

        "streamSettings": {
            "network": "tcp",

            "security": "tls",

            "tlsSettings": {
                "serverName": "192.168.1.133" // 换成你的域名
            },

            "tcpSettings": {
                "header": {
                    "type": "http",

                    "request": {
                        "path": [
                            "/vmesstcp" // 必须换成自定义的 PATH,需要和服务端的一致
                        ]
                    }
                }
            }
        }
    }
]

}

erbasisan avatar Oct 07 '22 18:10 erbasisan

HTTP 代理似乎在 v2rayNG 上没有获得官方支持,建议使用SagerNet 作为替代品。

xiaopang0v0 avatar Oct 17 '22 05:10 xiaopang0v0