dvpn-node icon indicating copy to clipboard operation
dvpn-node copied to clipboard

v2ray

Open faddat opened this issue 1 year ago • 1 comments

Hi,

In going through the code, I noticed that we start wireguard as a separate proccess.

For v2ray, which I expect to become dominant, I'm going to try to run it by default.

So, for v2ray we need to get an ID per user like:

{
    "inbounds": [
        {
            "port": 10086, // server listening port
            "protocol": "vmess",
            "settings": {
                "clients": [
                    {
                        "id": "b831381d-6324-4d53-ad4f-8cda48b30811"
                    }
                ]
            }
        }
    ],
    "outbounds": [
        {
            "protocol": "freedom"
        }
    ]
}

as I understand it we only need to have a way of hot-updating the IDs. The other items may carry over from wireguard quite naturally. To make this as simple as possible, we won't try to differentiate traffic in the first step.

faddat avatar Dec 11 '22 13:12 faddat

Hi! You can use generator ID https://www.v2fly.org/en_US/awesome/tools.html or https://www.uuidgenerator.net/version1

Dimokus88 avatar Feb 09 '23 20:02 Dimokus88