dyhkwong / SagerNet

A fork of SagerNet powered by V2Ray and its derivatives, mainly for satisfying personal needs.
Other
162 stars 17 forks source link

Wireguard support? #1

Closed t-e-s-tweb closed 6 months ago

t-e-s-tweb commented 1 year ago

Any plans to add wireguard support? For using with CF warp for improving privacy and security.

dyhkwong commented 1 year ago

The WireGuard implementation in original SagerNet's v2ray-core is out-of-date and incompatible with recent gVisor. I don't know how to deal with it, so I have to remove WireGuard (and gVisor TUN stack) support. What's more, it is said to be broken and not working. (I don't use so I'm not sure) A lazy trick is to kang the WireGuard code from Xray, which seems to be a more up-to-date one, but no IP packet support of course, and it also lacks maintenance since its initial introduction. Personally, I don't think it's a good idea to implement a "VPN" protocol inside a proxy software.

MuzammilCEO commented 1 year ago

Hello,

There are several errors while compiling the code, could you please give an idea which OS is best for development of SagerNet? I tried on macOS, Ubuntu and Windows. Also tried to run the action workflows but the results were very similar. Your assistance will be appreciated.