Pritunl Client can't connect to Wireguard, but wg-quick works locally

Hello and thank your for such a great product.

I have an issue with latest pritunl-client and server. The issue is that Wireguard connection does not work. At the same time, WG profile file is creating and when I run wg-quick locally, all works properly. Also OpenVPN works without any issues.

Error is: level=error msg=“utils: Process exec error” arg=“[/usr/local/bin/wg-quick up pritunl0]” cmd= error="utils: Failed to exec ‘’\nexec: no command\nORIGINAL STACK TRACE:

Installation details:

  • pritunl-client: v1.3.3883.60
  • pritunl-server: 1.32.3805.95
  • Server OS: Ubuntu 22.04.4 LTS
  • Client OS: macOS 12.7.6

Update: the issue is because pritunl-service is trying to use bash installed only by Homebrew, so if your bash is pre-intalled by Apple (which is /bin/bash) pritunl-service will fail to use wg-quick script.

In my case, I’m using zsh installed by Homebrew and pre-installed bash (in /bin/bash), so in my case wg-quick works perfectly without any issues, but Pritunl is unable to execute it because of hard-coded bash locations.

Added PR: fix: add macOS default bash path lookup by loadaverage · Pull Request #91 · pritunl/pritunl-client-electron · GitHub

This will be included in the next release.

1 Like