ivpn / desktop-app

Official IVPN Desktop app
https://www.ivpn.net/apps/
GNU General Public License v3.0
322 stars 49 forks source link

[Windows] IVPN Split Tunneling no longer works after reconnection #311

Closed RoonMoonlight closed 9 months ago

RoonMoonlight commented 9 months ago

Bug report

Describe your environment

Describe the problem

Steps to reproduce:

  1. Set up Split Tunneling on Settings - Add any browser app to Split Tunneling list
  2. Check on IVPN official website; it should say 'Not connected to IVPN' as usual
  3. Reconnect to VPN
  4. Refresh IVPN Official Homepage
  5. It says connected to IVPN, which shouldn't happen in the first place, and this issue will remain unless you modify split tunneling setting once again image (Note: above image is the Microsoft Edge with Split Tunnel enabled.)

Observed Results:

Expected Results:

Relevant Code:

// TODO(you): code here to reproduce the problem
RoonMoonlight commented 9 months ago

UPDATE: This bug also started to happen on Chrome as well, so I will be updating description.

UPDATE 2: So it turns out the split tunneling not working when IPv6 is enabled, which shouldn't happen in the first place. Tried turning off IPv6 and now Split Tunneling works as intended. Will be updating description once again.

RoonMoonlight commented 9 months ago

Update N.3: After turning off IPv6, the result goes the same; at first setup, it works properly. But when you reconnect to VPN, the Split Tunnel will NOT work afterwards unless you modify the Split Tunnel settings. I will update this as well.

stenya commented 9 months ago

Hi @RoonMoonlight Have you tried reopening your browser after the VPN connection or changing the Split Tunnel settings? There are known limitations of this functionality:

... The split tunnel feature has an impact on applications and connections that are launched after the split tunnel is activated and the VPN is connected. Applications and connections that were already active before the split tunnel is enabled may still use the VPN connection instead of bypassing it. ...

https://www.ivpn.net/knowledgebase/general/split-tunnel-uses-and-limitations

RoonMoonlight commented 9 months ago

Oh interesting, restarting an app just fixed it. Dunno why it has to happen like this

Thank you for info, closing this for now.