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) Debian 12 uses nftables and iptables is not installed by default #286

Closed jordan-ivpn closed 1 year ago

jordan-ivpn commented 1 year ago

Bug report

Describe your environment

Describe the problem

Debian 12 uses nftables for firewalling. The ivpn app uses iptables and the firewall fails:

failed to change firewall state: failed to execute shell command: exit status 127

One option involves adding iptables as a dependency for the ivpn package.

The other option involves checking for iptables/nftables and applying the appropriate set of firewall rules based on which package is installed.

https://www.reddit.com/r/IVPN/comments/14a9t7g/failed_to_change_firewall_state_failed_to_execute/

Thanks.

stenya commented 1 year ago

v3.11.16 Updated DEB/RPM 'base' packages: added the strong dependency to 'iptables' package.

@gorkapernas The main danger is that we can not be sure that all Linux distributives have 'iptables' package (exact name) in their official repositories. There should be no problems with popular distributives (like Ubuntu or Fedora). But it is necessary to test installation process on other distributives we support.

gorkapernas commented 1 year ago

Verified on the latest beta versions 3.11.16, 3.11.17, 3.11.18 and 3.12.0, tested the installation process on multiple Linux distributions including Debian and no issues have been found. This looks good to go.

stenya commented 1 year ago

v3.12.0 released