Permalink
76 lines (57 sloc) 2.46 KB

Mysterium VPN node (Any OS with Docker)

Most convenient way requiring least configuration is to run a node using Docker. All node versions are available through docker hub:

https://hub.docker.com/r/mysteriumnetwork/myst/

Fetching and running docker image

sudo docker run --cap-add NET_ADMIN --net host --name myst -d mysteriumnetwork/myst service --agreed-terms-and-conditions

Note: to run server, you will have to accept terms & conditions by adding '--agreed-terms-and-conditions' command line option.

Note 2: it's mandatory to run docker container with --net host to correctly detect VPN service ip which needs to be published to clients, assuming that host on which node is running has external interface with public ip

Debugging

sudo docker logs -f myst

Mysterium VPN node (Debian && Ubuntu) - tested on Ubuntu 16.04

Note: you need to replace {version} with specific version number from releases

Download

Add latest OpenVPN repository

apt-get update && apt-get install -y curl
curl -s https://swupdate.openvpn.net/repos/repo-public.gpg | apt-key add && echo "deb http://build.openvpn.net/debian/openvpn/stable xenial main" > /etc/apt/sources.list.d/openvpn-aptrepo.list && rm -rf /var/cache/apt/* /var/lib/apt/lists/*
apt-get update

Installation

wget https://github.com/mysteriumnetwork/node/releases/download/{VERSION}/myst_linux_amd64.deb
sudo dpkg --install --force-depends myst_linux_amd64.deb
sudo apt-get install -y --fix-broken

Running service

sudo service mysterium-node start
sudo service mysterium-node status

Debugging service

sudo tail -f /var/log/mysterium-node/*

Debugging standalone

sudo myst --data-dir=/var/lib/mysterium-node --config-dir=/etc/mysterium-node --runtime-dir=/tmp --identity=0x123456..

Mysterium VPN node and client standalone binaries (.tar.gz)

Download

Extract

tar -xvzf myst_{OS}_{ARCH}.tar.gz

Running

cd myst_{OS}_{ARCH}
sudo ./myst

Note: to run server, you will have to add service subcommand and accept terms & conditions by adding '--agreed-terms-and-conditions' command line option.