[PR #2598] feat(windows): include-only app split tunneling #2860

Open
opened 2026-10-15 04:05:47 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2598
Author: @krot4u
Created: 5/13/2026
Status: 🔄 Open

Base: dev ← Head: feat/windows-include-only-split-tunnel


📝 Commits (4)

  • 96da5fe feat(windows): include-only app split tunneling
  • b6a42c2 chore(windows): drop dev self-sign driver helpers from PR
  • 56543e0 feat(windows): add custom split-tunnel driver installation
  • bc71f95 Merge branch 'dev' from amnezia-vpn/amnezia-client

📊 Changes

21 files changed (+590 additions, -35 deletions)

View changed files

📝 .gitignore (+7 -0)
📝 README.md (+3 -0)
📝 client/CMakeLists.txt (+16 -0)
📝 client/daemon/daemon.cpp (+3 -0)
📝 client/daemon/interfaceconfig.cpp (+6 -0)
📝 client/daemon/interfaceconfig.h (+2 -0)
📝 client/mozilla/localsocketcontroller.cpp (+12 -1)
📝 client/platforms/windows/daemon/windowsdaemon.cpp (+25 -10)
📝 client/platforms/windows/daemon/windowsfirewall.cpp (+13 -0)
📝 client/platforms/windows/daemon/windowsfirewall.h (+9 -0)
📝 client/platforms/windows/daemon/windowssplittunnel.cpp (+42 -17)
📝 client/platforms/windows/daemon/windowssplittunnel.h (+8 -4)
➕ client/platforms/windows/drivers/build-split-tunnel.ps1 (+158 -0)
➕ client/platforms/windows/drivers/check-split-tunnel-build-prereqs.ps1 (+117 -0)
📝 client/ui/controllers/appSplitTunnelingUiController.cpp (+1 -0)
📝 client/ui/qml/Pages2/PageSettingsAppSplitTunneling.qml (+2 -2)
➕ docs/WINDOWS_PER_APP_WHITELIST_ROADMAP.md (+80 -0)
➕ docs/WINDOWS_PER_APP_WHITELIST_VPN.md (+46 -0)
➕ docs/WINDOWS_WHITELIST_RELEASE_BUILD.md (+18 -0)
📝 service/server/CMakeLists.txt (+15 -0)

...and 1 more files

📄 Description

Summary

Windows app split tunneling gains include-only (whitelist) mode: only listed applications use the VPN tunnel; other traffic bypasses the tunnel.

Implementation notes

  • Client / service: IOCTL and configuration path to set forward-only listed apps before applying per-app rules (windowssplittunnel, windowsdaemon, localsocketcontroller, killswitch, interfaceconfig, UI controller + QML).
  • Kernel driver: behavior depends on an updated Mullvad-derived split-tunnel driver (include-only policy and correct handling vs parent bypass). Built mullvad-split-tunnel.sys / .cat / .pdb are not committed (see .gitignore); optional local build via client/platforms/windows/drivers/build-split-tunnel.ps1. Official signing and packaging of the driver and installers are expected from the project release / CI pipeline; update recipes/win-split-tunnel/conanfile.py when new driver binaries are published.

Docs

  • docs/WINDOWS_PER_APP_WHITELIST_VPN.md, WINDOWS_PER_APP_WHITELIST_ROADMAP.md
  • docs/WINDOWS_WHITELIST_RELEASE_BUILD.md (high-level release notes, no local signing flow)

Checklist for maintainers

  • Rebuild or host updated split-tunnel driver binaries and update Conan checksums in recipes/win-split-tunnel/conanfile.py so CI and releases ship the matching .sys.
  • Confirm version bump in root CMakeLists.txt aligns with your release policy (currently 4.8.16.0 on this branch).

🔄 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/2598 **Author:** [@krot4u](https://github.com/krot4u) **Created:** 5/13/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `feat/windows-include-only-split-tunnel` --- ### 📝 Commits (4) - [`96da5fe`](https://github.com/amnezia-vpn/amnezia-client/commit/96da5fe444136e62964eb0a82c6f21cf820a59b7) feat(windows): include-only app split tunneling - [`b6a42c2`](https://github.com/amnezia-vpn/amnezia-client/commit/b6a42c2a13be490d1e1478521a1358562789ce3d) chore(windows): drop dev self-sign driver helpers from PR - [`56543e0`](https://github.com/amnezia-vpn/amnezia-client/commit/56543e0590756aaf50ba441cdf01ebda465d862e) feat(windows): add custom split-tunnel driver installation - [`bc71f95`](https://github.com/amnezia-vpn/amnezia-client/commit/bc71f955d6ba194ef201ab2b8447b96d513cbc32) Merge branch 'dev' from amnezia-vpn/amnezia-client ### 📊 Changes **21 files changed** (+590 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+7 -0) 📝 `README.md` (+3 -0) 📝 `client/CMakeLists.txt` (+16 -0) 📝 `client/daemon/daemon.cpp` (+3 -0) 📝 `client/daemon/interfaceconfig.cpp` (+6 -0) 📝 `client/daemon/interfaceconfig.h` (+2 -0) 📝 `client/mozilla/localsocketcontroller.cpp` (+12 -1) 📝 `client/platforms/windows/daemon/windowsdaemon.cpp` (+25 -10) 📝 `client/platforms/windows/daemon/windowsfirewall.cpp` (+13 -0) 📝 `client/platforms/windows/daemon/windowsfirewall.h` (+9 -0) 📝 `client/platforms/windows/daemon/windowssplittunnel.cpp` (+42 -17) 📝 `client/platforms/windows/daemon/windowssplittunnel.h` (+8 -4) ➕ `client/platforms/windows/drivers/build-split-tunnel.ps1` (+158 -0) ➕ `client/platforms/windows/drivers/check-split-tunnel-build-prereqs.ps1` (+117 -0) 📝 `client/ui/controllers/appSplitTunnelingUiController.cpp` (+1 -0) 📝 `client/ui/qml/Pages2/PageSettingsAppSplitTunneling.qml` (+2 -2) ➕ `docs/WINDOWS_PER_APP_WHITELIST_ROADMAP.md` (+80 -0) ➕ `docs/WINDOWS_PER_APP_WHITELIST_VPN.md` (+46 -0) ➕ `docs/WINDOWS_WHITELIST_RELEASE_BUILD.md` (+18 -0) 📝 `service/server/CMakeLists.txt` (+15 -0) _...and 1 more files_ </details> ### 📄 Description ## Summary Windows app split tunneling gains **include-only (whitelist) mode**: only listed applications use the VPN tunnel; other traffic bypasses the tunnel. ## Implementation notes - **Client / service**: IOCTL and configuration path to set forward-only listed apps before applying per-app rules (`windowssplittunnel`, `windowsdaemon`, `localsocketcontroller`, `killswitch`, `interfaceconfig`, UI controller + QML). - **Kernel driver**: behavior depends on an updated **Mullvad-derived split-tunnel driver** (include-only policy and correct handling vs parent bypass). Built `mullvad-split-tunnel.sys` / `.cat` / `.pdb` are **not** committed (see `.gitignore`); optional local build via `client/platforms/windows/drivers/build-split-tunnel.ps1`. **Official signing and packaging** of the driver and installers are expected from the project release / CI pipeline; update `recipes/win-split-tunnel/conanfile.py` when new driver binaries are published. ## Docs - `docs/WINDOWS_PER_APP_WHITELIST_VPN.md`, `WINDOWS_PER_APP_WHITELIST_ROADMAP.md` - `docs/WINDOWS_WHITELIST_RELEASE_BUILD.md` (high-level release notes, no local signing flow) ## Checklist for maintainers - [ ] Rebuild or host updated split-tunnel driver binaries and update Conan checksums in `recipes/win-split-tunnel/conanfile.py` so CI and releases ship the matching `.sys`. - [ ] Confirm version bump in root `CMakeLists.txt` aligns with your release policy (currently `4.8.16.0` on this branch). --- <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#2860
No description provided.