dvpn-node
dvpn-node copied to clipboard
v2ray
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.
Hi! You can use generator ID https://www.v2fly.org/en_US/awesome/tools.html or https://www.uuidgenerator.net/version1