Re: Best & Easiest Installation VPN

1 respuesta [Último envío]
Zelphir Kaltstahl
Desconectado/a
se unió: 11/11/2019

Hi!

I want to share with you how I got my VPN on Trisquel running, without
use of proprietary VPN clients.

You can download an OpenVPN configuration from some VPN provider
websites and use that with OpenVPN.

Whenever you can download an OpenVPN configuration, that makes a service
more flexible. I also use an OpenVPN config and created myself a GNU
Bash alias, which is simply `vpn`. Then I am asked for password and once
that is done, I am connected to VPN, without installing any non-free
software whatsoever. Highly recommend this way : )

As for how to install OpenVPN: I installed it through GUIX package
manager, which made it easy to get a modern version of it.

Here is my alias for GNU Bash (edited):

alias vpn='sudo /home/USER/.guix-profile/sbin/openvpn --config /home/USER/VPN/SUBDIR/CONFIGFILE --ca /home/USER/VPN/SUBDIR/CERTFILE --auth-user-pass /home/USER/VPN/SUBDIR/PASSWORDFILE'

I replaced: USER; SUBDIR, CONFIGFILE, CERTFILE, PASSWORDFILE with values
applying to me.

I also edited the config files I got from my VPN provider, to get rid of
some warnings OpenVPN gave me, presumably making it more secure by
disabling things, setting other options etc.. So you might have to tweak
you config a little as well.

One could possibly go one step further and somehow automate the alias
away, so that at every login it asks you for your password and
automatically connects to the VPN.

Best wishes,
Zelphir

On 4/30/20 5:15 AM, name at domain wrote:
> Message: 3
> Date: Wed, 29 Apr 2020 17:30:29 +0200 (CEST)
> From: name at domain
> To: name at domain
> Subject: [Trisquel-users] Best & Easiest Installation VPN ?
> Message-ID:
> <name at domain>
>
> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
>
> Hello,
> I've had this issue before, I couldn't seem to get mullvad installed on my
> X60 and months later, finally revisiting this issue. I probably am not that
> tech inclined to install it, although god knows I've tried, so does anyone
> suggest an alternative to someone very new to all of this ? Any suggestions
> are greatly appreciated.
> I have mullvad on my T530 running Debian and on my X220 running mint, but for
> some reason I can't figure out how to get it installed on my X60, and this
> has been the main reason why I haven't been using this machine as my go to
> machine and I feel its my last hurdle to actually using this wonderful little
> machine that I'm so proud to have.
> Thanks

Zelphir Kaltstahl
Desconectado/a
se unió: 11/11/2019

On 02.05.20 12:00, name at domain wrote:
> Beko:
> > I know Mullvad requires a newer kernel than what Trisquel ships by default.
>
> In that case, perhaps it will work better on Etiona (Trisquel 9)? You could
> try installing a dual boot of Etiona on your X60 and see how that works for
> you.

Well, if one is about setting up a system anyway, then switching to
Trisquel 9 might be a good idea. If you have a system and don't
necessarily want to upgrade the OS, then I do not recommend this approach.

I remember I also was in this situation, but fortunately Mullvad offers
OpenVPN configs for download, so the kernel will not be an issue at all.
You just install OpenVPN in a modern version and use the OpenVPN config
with it, instead of trying to run the Mullvad client. This is also
probably more aligned with Trisquel and free software ideas, unless
Mullvad client is free software as well.

As written in that other e-mail, you can install OpenVPN through Guix
fairly easily, once Guix package manager is installed. Correct me if I
am wrong, but I think Guix package manager has free software exclusively
(?).