hello-david / SwiftV2Ray

V2Ray-Core的iOS工具
271 stars 154 forks source link

VPN连接上了但是没有网络 #19

Open wood911 opened 3 years ago

wood911 commented 3 years ago
{"name":"haha","server":"132.145.111.134","type":"vmess","port":443,"uuid":"bae399d4-13a4-46a3-b144-4af2c0004c2e","alterId":64,"cipher":"auto","network":"ws","ws-path":"/v2ray","servername":"132.145.111.134","ws-headers":{"HOST":"132.145.111.134"},"http-opts":{},"h2-opts":{},"tls":true,"skip-cert-verify":true}

请问这种数据配置文件该如何配置?

{
    "policy":{
        "levels": {
            "0": {
              "handshake": 4,
              "connIdle": 3,
              "uplinkOnly": 0,
              "downlinkOnly": 0,
              "statsUserUplink": false,
              "statsUserDownlink": false,
              "bufferSize": 0
            }
        },
        "system": {
            "statsInboundUplink": false,
            "statsInboundDownlink": false
        }
    },
    "outbounds":[
        {
            "mux":{
                "enabled": true,
                "concurrency": 1024
            },
            "protocol":"vmess",
            "settings":{
                "vnext":[
                    {
                        "address":"132.145.111.134",
                        "users":[
                            {
                                "id":"bae399d4-13a4-46a3-b144-4af2c0004c2e",
                                "alterId":64,
                                "level":0,
                                "security":"auto"
                            }
                        ],
                        "port":443
                    }
                ]
            }
        }
    ]
}

连接上了但是没有网络

image

newfuture33 commented 2 years ago

我也是遇到这个问题了,有什么办法吗?

feng456666 commented 2 years ago
```json
{"name":"haha","server":"132.145.111.134","type":"vmess","port":443,"uuid":"bae399d4-13a4-46a3-b144-4af2c0004c2e","alterId":64,"cipher":"auto","network":"ws","ws-path":"/v2ray","servername":"132.145.111.134","ws-headers":{"HOST":"132.145.111.134"},"http-opts":{},"h2-opts":{},"tls":true,"skip-cert-verify":true}

请问这种数据配置文件该如何配置?

{
    "policy":{
        "levels": {
            "0": {
              "handshake": 4,
              "connIdle": 3,
              "uplinkOnly": 0,
              "downlinkOnly": 0,
              "statsUserUplink": false,
              "statsUserDownlink": false,
              "bufferSize": 0
            }
        },
        "system": {
            "statsInboundUplink": false,
            "statsInboundDownlink": false
        }
    },
    "outbounds":[
        {
            "mux":{
                "enabled": true,
                "concurrency": 1024
            },
            "protocol":"vmess",
            "settings":{
                "vnext":[
                    {
                        "address":"132.145.111.134",
                        "users":[
                            {
                                "id":"bae399d4-13a4-46a3-b144-4af2c0004c2e",
                                "alterId":64,
                                "level":0,
                                "security":"auto"
                            }
                        ],
                        "port":443
                    }
                ]
            }
        }
    ]
}

连接上了但是没有网络

解决了吗??怎么处理啊

Andyfeiyang commented 2 years ago

我想问下 为什么我模拟器运行各种报错 真机运行可以运行 但是也感觉没什么用 但是不报错

liuyi73191 commented 7 months ago

我开发V2ray iOS app用别的SDK. 你们希望开发V2ray APP的话, 联系我。 skype: live:.cid.85b9ef80726be21e qq:2890152926

lu9059 commented 5 months ago

同问,有谁用这个demo成功的?求助一下

ghost commented 2 months ago

https://t.me/Web3_1234

可以联系我,vmess,ss,trojan都支持