Exclave icon indicating copy to clipboard operation
Exclave copied to clipboard

WireGuard proxy chain doesn't work

Open EloyA opened this issue 1 year ago • 4 comments

Hey. I'm in Iran. WireGuard prorocol is block in Iran, but some how when I create a Cloudflare WireGuards configs by NekoBox, It works, so I use Chain method with Cloudflare + Wireguard like Nord, Proton or etc ... so I can use lots of VPNs. But you have removed "Create Cloudflare WARP" but still support WireGuard, but when I manually create Cloudflare WARP from those configs to use chain, WireGuards does not work. Using Galaxy S8 android 9 + Galaxy S23 Android 14. Thank you.

EloyA avatar Oct 09 '24 19:10 EloyA

WireGuard support is copied from Xray. It seems that Xray's WireGuard does not support dialerProxy or proxySettings. Do Xray or v2rayNG work for you?

dyhkwong avatar Oct 10 '24 03:10 dyhkwong

Hello again. As i said before, Iran Goverment has blocked WireGuard protocol, but "WARP" works on V2rayNG. In fact here is a branch of V2rayNG named "NikaNG" developed and edited by Iranians. In fact WARP is equipped somehow with "Fragmention" tool like vless configs.

NikaNG Github: https://github.com/mahsanet/NikaNG

WARP Config with patch: wireguard://iJra2Yteg6q6pN4JY1R5FXw7dkck7ANvzTl36DteaWM%[email protected]:928?address=172.16.0.2%2F32%2C2606%3A4700%3A110%3A8f81%3Ad551%3Aa0%3A532e%3Aa2b3%2F128&reserved=5%2C41%2C231&publickey=bmXOC%2BF1FxEMF9dyiK2H5%2F1SUtzH0JuVo51h2wPfgyo%3D&mtu=1280&keepalive=5&wnoise=quic&wnoisecount=15&wnoisedelay=1&wpayloadsize=5-10#EXAMPLE 2024-10-12 10:03

EloyA avatar Oct 13 '24 15:10 EloyA

Hello again. Az I said before, Iran Goverment has block WireGuard protocol. but "WARP" works on V2rayNG, In fact here is a fork of V2rayNG named "NikaNG" developed and edited by Iranians. In fact WARP equipped with "Fragmention" tool like for example vless configs somehow.

NikaNG Github: https://github.com/mahsanet/NikaNG

WARP Config with patch: wireguard://iJra2Yteg6q6pN4JY1R5FXw7dkck7ANvzTl36DteaWM%[email protected]:928?address=172.16.0.2%2F32%2C2606%3A4700%3A110%3A8f81%3Ad551%3Aa0%3A532e%3Aa2b3%2F128&reserved=5%2C41%2C231&publickey=bmXOC%2BF1FxEMF9dyiK2H5%2F1SUtzH0JuVo51h2wPfgyo%3D&mtu=1280&keepalive=5&wnoise=quic&wnoisecount=15&wnoisedelay=1&wpayloadsize=5-10#EXAMPLE 2024-10-12 10:03

EloyA avatar Oct 13 '24 15:10 EloyA

Don't be off-topic please. If you mean WireGuard works but WireGuard chain proxy does not work on Exclave, it is a won't fix.

dyhkwong avatar Oct 13 '24 17:10 dyhkwong

After further investigation, I found that popular proxy software like sing-box and mihomo only supports WireGuard as the landing proxy of a proxy chain. WireGuard as the middle proxy or front proxy are not supported by them. For Xray, WireGuard as the middle proxy or front proxy also does not work and WireGuard as the landing proxy does work. For Exclave (whose WireGuard code was kanged from Xray), WireGuard as the landing proxy has a context issue and will be fixed in the next release, and WireGuard as the middle proxy or front proxy will NOT (and I am afraid can not) be fixed.

dyhkwong avatar Feb 11 '25 15:02 dyhkwong