Cannot use existing Wintun adapter by name (breaking change since latest official v26.3.27)
Author: AlekseyMartynovCreated Sep 18, 2026Updated Sep 18, 2026
NewTun is documented as
https://github.com/XTLS/Xray-core/blob/c412e77a9b712082ac9ebf27fa793951cb5a7d85/proxy/tun/tun_windows.go#L50-L52
I relied on this behavior: created and configured custom Wintun adapter as well as Windows Filtering Platform rules before launching xray.exe
For unclear reason, the call to wintun.OpenAdapter was removed in #5887 (diff). So now the use case is broken.
cc @LjhAUMEM
Source: XTLS/Xray-core