Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Multiple simultaneous connections support #69

Open
XFox111 opened this issue Jun 28, 2024 · 0 comments
Open

[Feature request] Multiple simultaneous connections support #69

XFox111 opened this issue Jun 28, 2024 · 0 comments

Comments

@XFox111
Copy link

XFox111 commented Jun 28, 2024

Justification:

I have multiple WG configs. Primarily these ones:

  1. My personal WG server
  • AllowedIPs = 0.0.0.0/0
  • DisallowedIPs = 10.0.0.0/8
  1. Corporate VPN server
  • AllowedIPs = 10.24.10.0/24

As you can see, these configs do not intersect with each other (10.24.10.0/24 can come through corporate server but cannot through my personal one).

Since I basically need both of these connections all the time, it would be nice, if I was able instead of constantly switching between them, activate both at once.

Proposal:

Add ability to activate multiple configs at the same time, hence, to connect to multiple VPN servers simultaneously.

Since allowed networks in configs may intersect with each other, the following UX changes are proposed:

On inactive config page

  • Instead of disabled "Activate" button, add "Add to active connection" button, which will imply, that instead of switching to this config, it will try to add it to the active connection and use them both
  • If the config cannot be used with active connection, the error message should be displayed: "Cannot add to current connection: IP ranges intersect"
image

In system tray context menu

  • Connection items should act as checkboxes, instead of radio buttons (click on active item - deactivate connection, and vice versa)
image

In settings dialog

  • Add new checkbox option: "Add connection to the active one instead switching"

This option is supposed to have following impact:

  • When turned on, clicking on a config in system tray context menu, or double-clicking menu item in main window cases WireSock to try to add connection to existing one, instead of switching
  • When turned off, clicking on a config in system tray context menu, or double-clicking menu item in main window cases WireSock to switch connections (current implementation)

Additional context

I don't understand all the technical aspects of implementing this proposal, so I'm not sure if this is possible at all. But it would be nice, at least to look into it

P.S. I can partially assist on implementing this issue. At least on the side of WireSockUI

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

No branches or pull requests

1 participant