RE: How do I get my VPN-daemon to run in the background? 05-05-2021, 09:43 AM
#18
(05-04-2021, 08:24 PM)Drako Wrote:(05-04-2021, 07:28 PM)Equinox Wrote:(05-04-2021, 12:23 PM)poi$on ivy Wrote: By cloning it from github, building and compiling it, then doing an NPM install.
For future reference, you shouldn’t clone from GitHub unless you have to. It makes package management hell, and there’s a reason package managers exist in the Linux userspace.
That aside though, install openvpn as well. This can also be found in the mullvad github, but a better practice would be to use your package manager to install openvpn. Once openvpn is installed, configure it for mullvad, then enable the service unit, and you’ll be good.
Blackarch doesn't have a package available for Mullvad, so it is totally necessary for the OP to use a git clone here.
It's very possible that there is a daemon for mullvad, but it's either only available to the Debian/Fedora installation, or you'll need to jump through some hoops to get a daemon working in the git clone install. It would also help to know what version you installed. Was it the WireGuard or OpenVPN version?
(05-04-2021, 08:43 PM)Equinox Wrote:Should I install AUR? I read that its sometimes causes errors in the system and some people dont use it anymore, but if you think its fine then I'll trust it. Can I use the wireguard file instead of openvpn? Should I use 'sudo yay -S mullvadvpn?' Or what is the command for downloading it?(05-04-2021, 08:24 PM)Drako Wrote:Yes, I cloned it for this reason. I can download the .deb file and convert it with debtap, but you still have to compile and build it I think and then do a NPM install. And yeah, its true that mullvad isnt made for Arch, mainly only fedora and debian. So thats why I cloned it from github.(05-04-2021, 07:28 PM)Equinox Wrote: For future reference, you shouldn’t clone from GitHub unless you have to. It makes package management hell, and there’s a reason package managers exist in the Linux userspace.
That aside though, install openvpn as well. This can also be found in the mullvad github, but a better practice would be to use your package manager to install openvpn. Once openvpn is installed, configure it for mullvad, then enable the service unit, and you’ll be good.
Blackarch doesn't have a package available for Mullvad, so it is totally necessary for the OP to use a git clone here.
It's very possible that there is a daemon for mullvad, but it's either only available to the Debian/Fedora installation, or you'll need to jump through some hoops to get a daemon working in the git clone install. It would also help to know what version you installed. Was it the WireGuard or OpenVPN version?
I am using wireguard. Its the one that works best on my computer.
Neither, I’m doing all of this based on my experience in using Linux. And a generally good assumption to make for Arch users is that they have an AUR package manager installed, and there is an AUR package for mullvad. That’s why I brought up the bit about package management.
I would go with the openvpn option were it me though.