User:Csfore/Mullvad

From Gentoo Wiki
< User:Csfore(Redirected from User:Xarvatium/Mullvad)
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

Mullvad VPN is a VPN service based in Sweden.

Note
Generally, it's considered bad manners to edit user pages but if you think you have valuable information that would benefit this, feel free to add to it!

Installing

Mullvad is not currently (as of 2023-08-29) packaged in a Gentoo repository so you will need to manually unpack a .deb file.

  1. Download the .deb file from their website
  2. Move the .deb file into a temp workspace (assumed to be Mullvad.deb)
  3. Unpack the .deb with ar -x Mullvad.deb
  4. Copy the ./opt/Mullvad VPN/ files to /opt if you wish
  5. Copy the binaries in ./usr/bin/ to /usr/bin
  6. To start the daemon automatically, use an OpenRC script.

Run the following to allow the daemon to write to its own log folder (this might not be the safest option)

root #chown -R user:user /var/log/mullvad-vpn

OpenRC Service

This is a very hacky OpenRC service that should start the daemon, put it in /etc/init.d/.

CODE Hacky Service
#!/sbin/openrc-run

depend() {
	need net
}

command="nohup /usr/bin/mullvad-daemon"
command_args="&"