[PR #3343] xray: use a fixed wintun guid on windows #3214

Open
opened 2026-10-30 04:58:02 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/3343
Author: @hasanerman
Created: 10/28/2026
Status: 🔄 Open

Base: dev ← Head: fix/xray-tun-static-guid


📝 Commits (1)

  • 7e32263 xray: pin wintun guid on windows so tun2 isnt a new network every connect

📊 Changes

1 file changed (+7 additions, -1 deletions)

View changed files

📝 client/core/protocols/xrayProtocol.cpp (+7 -1)

📄 Description

tun2socks was started with plain tun://tun2 so wintun picked a random guid every time and windows made a new network profile on each connect (network 6, 7, 8...). tun2socks 2.6.0 takes ?GUID= on windows, so pass a fixed one. other platforms unchanged.

fixes #2350


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/3343 **Author:** [@hasanerman](https://github.com/hasanerman) **Created:** 10/28/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `fix/xray-tun-static-guid` --- ### 📝 Commits (1) - [`7e32263`](https://github.com/amnezia-vpn/amnezia-client/commit/7e32263b99226325195e0205ac7c96fa5be92eaf) xray: pin wintun guid on windows so tun2 isnt a new network every connect ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/core/protocols/xrayProtocol.cpp` (+7 -1) </details> ### 📄 Description tun2socks was started with plain tun://tun2 so wintun picked a random guid every time and windows made a new network profile on each connect (network 6, 7, 8...). tun2socks 2.6.0 takes ?GUID= on windows, so pass a fixed one. other platforms unchanged. fixes #2350 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#3214
No description provided.