Tribler / cloudomate

Unpermissioned Open Computer API
GNU Lesser General Public License v3.0
15 stars 16 forks source link

Add Mullvad VPN #58

Closed MattSkala closed 5 years ago

MattSkala commented 5 years ago

The basis of the code comes from https://github.com/Tribler/cloudomate/pull/46. I have fixed the broken methods and moved OpenVPN configuration fetching from install_mullvad.py script to the get_configuration method of MullVad hoster class, so it follows the interface used by AzireVPN and it can be used by PlebNet without modifications.

Steps to install the VPN (a similar process is used by PlebNet):

  1. cloudomate vpn info mullvad
  2. Save the output to credentials.conf and settings.ovpn files.
  3. sudo openvpn --config settings.ovpn
  4. curl https://am.i.mullvad.net/json should identify you as being in Sweden

I have tested this in the Ubuntu VM.

Jaapp- commented 5 years ago

The code looks good to me and it's confirmed working. Please resolve merge conflicts.

MattSkala commented 5 years ago

Resolved