ivpn / desktop-app

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

(Linux) Split tunneling fails #287

Closed 3isfee closed 1 year ago

3isfee commented 1 year ago

Bug report

Describe your environment

Describe the problem

Without giving the interface name in this command there is an error when trying to start an application via split tunneling. https://github.com/ivpn/desktop-app/blob/6adeca2f2bd412a361bf6a0ffb9ec63435855519/daemon/References/Linux/etc/splittun.sh#L270

Adding dev ${_def_interface_name} fixes the issue.

Steps to reproduce:

  1. Start IVPN
  2. Enable Split Tunneling
  3. Try to launch an application

Observed Results:

This error occurs: failed to enable Split Tunneling: (exit status 2) Error: Egress device not specified.

Expected Results:

Application launches with split tunneling.

stenya commented 1 year ago

Here's more information about the issue:

@gorkapernas The split-tunneling script has been modified. A brief regression test of split-tunneling is required on various Linux distributions.

stenya commented 1 year ago

@gorkapernas v3.11.18

gorkapernas commented 1 year ago

Verified fixed on v3.11.18 and 3.12.0, tested Split Tunnelling on different Linux distributions under the conditions described on: https://github.com/ivpn/desktop-app/issues/287#issuecomment-1649780548

Split Tunnelling seems to be working as expected.

stenya commented 1 year ago

v3.12.0 released