We're going to setup a personal WireGuard and IPsec VPN on DigitalOcean, from a Mac
- Make sure you have a DigitalOcean account first
- get algo
git clone https://github.com/trailofbits/algo.git
- then run
python3 -m pip install --user --upgrade virtualenv
- then enter the directory (probably called algo), and run
python3 -m virtualenv --python="$(command -v python3)" .env &&
source .env/bin/activate &&
python3 -m pip install -U pip virtualenv &&
python3 -m pip install -r requirements.txt
- open
config.cfg
and add your list of users - run
./algo
(for detailed instructions to setup DigitalOcean, see here)- answer
no
to yes/no questions - paste in the token key from the setup in DigitalOcean
- answer
- Install WireGuard, then click "import tunnel from file", and navigate to within the algo directory, to open
/configs/[IP address]/wireguard/[user.conf]
- to add or remove users, follow these steps.