Package Details: mullvad-vpn-cli 2022.5-6

Git Clone URL: (read-only, click to copy)
Package Base: mullvad-vpn-cli
Description: The Mullvad VPN CLI client
Upstream URL:
Licenses: GPL3
Conflicts: mullvad-vpn
Provides: mullvad-vpn
Submitter: t1m0
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 13
Popularity: 0.58
First Submitted: 2020-02-07 18:37 (UTC)
Last Updated: 2022-11-13 19:22 (UTC)

Pinned Comments

yochananmarqos commented on 2021-12-01 23:30 (UTC) (edited on 2021-12-01 23:32 (UTC) by yochananmarqos)


This package will verify the signature of the git tag / commit. Developer keys are available here and instructions are here. See the PKGBUILD to determine which developer key you need.

Latest Comments

1 2 3 Next › Last »

yochananmarqos commented on 2022-11-13 19:21 (UTC)

PSA: Upstream does not support building natively for ARM64, only cross-compiling.

aorth commented on 2022-10-19 16:04 (UTC) (edited on 2022-10-24 15:19 (UTC) by aorth)

I'm getting a build error with all 2022.5 versions recently:

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"libnftnl\" \"libnftnl >= 1.1.0\"", output: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "Package libnftnl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libnftnl.pc'\nto the PKG_CONFIG_PATH environment variable\nPackage 'libnftnl', required by 'virtual:world', not found\nPackage 'libnftnl', required by 'virtual:world', not found\n" } }', /build/.cargo/registry/src/
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Building in a clean chroot.

Edit: I finally got this to build. I think the failures could have been because cargo takes forever to update the crates index and fails many times for me.

leveller commented on 2022-10-15 21:10 (UTC)

@yochananmarqos Thanks again, all working fine now after that last whitespace fix.

yochananmarqos commented on 2022-10-15 20:34 (UTC)

@miffe: Fixed.

miffe commented on 2022-10-15 20:29 (UTC)

Build fails during package() with:

install: failed to access '/build/mullvad-vpn-cli/pkg/mullvad-vpn-cli/opt/MullvadVPN/resources/': No such file or directory

yochananmarqos commented on 2022-10-15 17:31 (UTC)

@leveller: Aha!

leveller commented on 2022-10-15 17:18 (UTC)

@yochananmarqos Thanks. Not tried your suggestion, but I looked inside /var/log/mullvad-vpn/openvpn.log and there was an error about a missing resources/ca.crt file. Therefore I added this to the PKGBUILD inside the package() function: install -Dm644 dist-assets/ca.crt -t "$pkgdir/opt/Mullvad VPN/resources/"

And openvpn now works!

yochananmarqos commented on 2022-10-15 15:03 (UTC)

@leveller: I've fixed the typo, but have no idea why OpenVPN is not working. Can you reproduce it with mullvad-vpn or mullvad-vpn-bin?

leveller commented on 2022-10-15 12:59 (UTC) (edited on 2022-10-15 13:02 (UTC) by leveller)

@yochananmarqos Currently it no longer builds with the PKGBUILD on here. Line number 112 of PKGBUILD needs to be changed from install -Dm644 dist-assets/linux/mullvad{-daemon,-early-boot-blocking} -t \ to install -Dm644 dist-assets/linux/mullvad{-daemon,-early-boot-blocking}.service -t \ (i.e. add .service)

After that it builds OK and once again Wireguard works. However openvpn still doesn't work, I'm now getting a different error. This repeats over and over in the systemd journal:

mullvad-daemon[525]: [talpid_core::tunnel::openvpn][DEBUG] Writing credentials to /tmp/(REDACTED)

mullvad-daemon[525]: [talpid_core::process::openvpn][DEBUG] Building expression: '/opt/Mullvad VPN/resources/openvpn' --client --tls-client --nobind --dev tun --ping 4 --ping-exit 25 --connect-timeout 30 --connect-retry 0 0 --connect-retry-max 1 --remote-cert-tls server --rcvbuf 1048576 --sndbuf 1048576 --fast-io --data-ciphers-fallback AES-256-GCM --tls-version-min 1.3 --verb 3 --route-noexec --proto tcp-client --remote (REDACTED) --auth-user-pass /tmp/(REDACTED) --iproute /usr/bin/ip --ca '/opt/Mullvad VPN/resources/ca.crt' --plugin '/opt/Mullvad VPN/resources/' /tmp/talpid-openvpn-(REDACTED) --log /var/log/mullvad-vpn/openvpn.log --pull-filter ignore route-ipv6 --pull-filter ignore ifconfig-ipv6 --tls-ciphersuites 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256' --mark (REDACTED)

mullvad-daemon[525]: [talpid_core::tunnel::openvpn][ERROR] OpenVPN died unexpectedly with status: exit status: 1

I've replaced some of that with (REDACTED) because frankly I wasn't sure which bits are sensitive.

As for taking over the maintaining of this, unfortunately I don't think I'm knowledgeable enough to do that at the moment.

yochananmarqos commented on 2022-10-13 23:47 (UTC)

@leveller: Apparently the original maintainer had no idea what he was doing and just copied and pasted from the mullvad-vpn PKGBUILD. I assumed it was working and did the same.

I don't use this (I use mullvad-vpn-beta), so let me know if it's working now. Also let me know if you'd like to take over maintaining this.