Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2ray #110

Open
faddat opened this issue Dec 11, 2022 · 1 comment
Open

v2ray #110

faddat opened this issue Dec 11, 2022 · 1 comment

Comments

@faddat
Copy link
Contributor

faddat commented Dec 11, 2022

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.

@Dimokus88
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants