chika0801 / Xray-examples

Xray 配置示例
https://github.com/XTLS/Xray-core
506 stars 97 forks source link

What is `reserved` in `wireguard` ? #2

Closed hawshemi closed 1 year ago

hawshemi commented 1 year ago

In the Wireguard section, what is the "reserved":[0, 0, 0] parameter? I use https://github.com/ViRb3/wgcf but it doesn't generate any reserved numbers.

chika0801 commented 1 year ago

https://github.com/chika0801/Xray-examples/blob/main/wireguard.md

There is this value after registering using the method in this link.

It is generally used on Hong Kong vps, and some Los Angeles vps, which use WARP on vps in these areas, to add this value or the connection won't work.

hawshemi commented 1 year ago

Do you know what is the meaning of it? I didn't enter anything and the warp is working ok. so it's not needed?

chika0801 commented 1 year ago

The 3 values are standardized by cloudflare itself I believe, probably no one has looked into what it means.

If you don't add them on your vps, you can use warp, and it's fine if you don't add them. They are only used on vps with Hong Kong, some LA ip's as I said above.

hawshemi commented 1 year ago

Thanks.