Skip to content

Add folder-based split tunneling support#116

Open
xacnio wants to merge 1 commit intoProtonVPN:masterfrom
xacnio:master
Open

Add folder-based split tunneling support#116
xacnio wants to merge 1 commit intoProtonVPN:masterfrom
xacnio:master

Conversation

@xacnio
Copy link
Copy Markdown

@xacnio xacnio commented Mar 26, 2026

Issue

Some applications may have dynamic .exe paths, so app-based split tunneling alone is not enough.

For example: When Discord released an update, the app path changes "app-1.0.9228" -> "app-1.0.9229"
\Discord\app-1.0.9228\Discord.exe --> \Discord\app-1.0.9229\Discord.exe"

It forces us to re-add the application and re-connect vpn every time it updates.

Solution

Folder-based split tunneling.

  • Scans executables recursively.
  • Watches folder changes and add/remove execution paths dynamically.
  • Disabling/Enabling/Adding/Deleting works dynamically.
  • Uses WFP & Callout transaction method. (dynamic app rules, no reconnection)

Risks

  • When selected a folder/root folder that has many sub-directories, .exes like C:/.
    » Up to the user, possible client-side performance issues.
    » No constraints applied.
  • When user selected so many folders (100+)
    » FileSystemWatcher may encounter issues.
    » Folder count is limited to 50.

  • I assign any and all copyright related to the contribution to Proton AG;
  • I certify that the contribution was created in whole by me;
  • I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it) is maintained indefinitely and may be redistributed with this project or the open source license(s) involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant