Page MenuHomePureOS Tracker

VPN should be 'on' after switching WiFi networks
Open, NormalPublic


The proper user flow for a VPN user should be that VPN is "on" or VPN is "off" first. Then WiFi selection should follow. Currently within PureOS GNOME it is WiFi first; and VPN starts 'off'. Which is counter intuitive, when VPN is 'on' it should always be on no matter what WiFi is used.

Current Behavio(u)r:
VPN is ON, WiFi changes, VPN turns OFF.

Expected Behavio(u)r:
VPN is ON, WiFi changes, VPN stays ON.

Reproduction Steps:

  1. Turn on VPN
  2. Switch WiFi
  3. See VPN turn off

This "vpn always on" approach would make the default protected, and eliminate the current issue of WiFi connecting (and therefore sending/receiving data free-and-clear) then turning on VPN (to lock-down data). It would also have peace of mind that the user is "always protected by using VPN" when VPN is turned on.

Event Timeline

todd created this task.Jan 26 2018, 11:31
todd created this object with edit policy "All Users".
todd updated the task description. (Show Details)
jeff added a subscriber: jeff.Jan 26 2018, 13:07

NetworkManager has a provision for this, and it gets exposed in the WiFi connection preferences in nm-connection-editor, but IIRC:

  • it doesn't get exposed by GNOME's control center
  • it is "per connection" (per wifi network)

Note: I also wanted to file a bug upstream for GNOME Shell & GNOME Control Center to prompt, upon first connection to a particular wifi network, about which VPN/proxy to use (if any)... My usecase is using the VPN only on public (ex: airports, cafés) networks.

dabrze added a subscriber: dabrze.Feb 2 2018, 03:57
dabrze added a comment.Feb 2 2018, 04:04

To fix the gnome-shell should be updated to 3.26.2-4, see Debian Bug report logs - #888653

jonas.smedegaard removed zlatan.todoric as the assignee of this task.May 27 2021, 06:08
jonas.smedegaard triaged this task as Normal priority.
jonas.smedegaard added a subscriber: zlatan.todoric.