Skip to content

Instantly share code, notes, and snippets.

@CallMeAreks
Last active May 30, 2018 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CallMeAreks/371cafe2d8184d0dedb6431034d73ac9 to your computer and use it in GitHub Desktop.
Save CallMeAreks/371cafe2d8184d0dedb6431034d73ac9 to your computer and use it in GitHub Desktop.

Algo VPN Deployment Guide

1. Create or use your existing Ubuntu 16.04 installation

Pretty much.

2. Update APT

apt-add-repository -y ppa:ansible/ansible
apt-get update -y
apt-get upgrade -y

2. Install Python and friends

apt-get install -y build-essential \
    libssl-dev \
    libffi-dev \
    python-dev \
    python-pip \
    python-setuptools \
    python-virtualenv

3. Clone and Install Algo VPN Server from the repo

git clone https://github.com/trailofbits/algo
cd algo
python -m virtualenv env
source env/bin/activate
python -m pip install -U pip
python -m pip install -r requirements.txt

4. Edit the config file

Open the config file with a text editor

nano config.cfg

The config file looks like this one. Update the user section to add the users you want and also change anything else to suit your needs. After that, save it and exit the editor.

Heads up: Most likely you'll want to allow traffic between the VPN clients. For that, you'll need to change this line: BetweenClients_DROP: Y to BetweenClients_DROP: N.

5. Install Algo

Run ./algo and the installer will ask which provider to use. Select the "Existing server".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment