What is this?
A set of Ansible scripts that spins up your own personal WireGuard and IPsec VPN server on a cloud provider, using the most secure defaults available.
Is this something I install on my phone, or does it live in the cloud?
Neither exactly: you run Algo once from your own computer or Google Cloud Shell, it creates and configures a cloud VM for you, and your devices then connect to that server with ordinary VPN clients.
What does setting up my own server look like?
Get a cloud account, clone the repo or unzip the download, list your users in config.cfg, then run ./algo — on Windows a PowerShell script uses WSL. The first run installs Python 3.11+ automatically.
Do I need a cloud account, or can it run on hardware I own?
Both: it deploys to DigitalOcean (the most user friendly per the README), Amazon Lightsail or EC2, Vultr, Azure, Google Cloud, Scaleway, Hetzner, Linode and OpenStack/CloudStack clouds — or to your own Ubuntu server.
Is there anything Algo deliberately leaves out?
Plenty, on purpose: only IKEv2 with AES-GCM, SHA2 and P-256, plus WireGuard — no L2TP, IKEv1, RSA, OpenVPN or Tor — and it makes no claims of anonymity or censorship avoidance.
Which devices can connect to the VPN?
Nearly everything: iOS, macOS and Linux via WireGuard or built-in IPsec, Android and Windows 11 via WireGuard, plus OpenWrt routers. Algo generates configs, QR codes and Apple profiles to keep client setup simple.
What gets logged on the server?
Very little: security events, kernel messages and WireGuard state, all rotated and deleted after 7 days; privacy enhancements are on by default in config.cfg. Your cloud provider still sees traffic metadata.
Can I add or remove VPN users after deployment?
Yes — edit the users list in config.cfg and rerun Algo: new users get fresh certificates and configs, removed users lose access. For IPsec user management you must have retained the PKI keys during the original deployment.
Does it do anything besides plain tunneling?
Two optional extras: a local DNS resolver that blocks ads, and limited SSH tunnel accounts — those users get no shell, no password login and only tunneling, e.g. a SOCKS proxy on 127.0.0.1:1080.
One user for all my devices, or one each?
One each — the README says to create a unique user per device; Algo then generates a separate certificate, config file and QR code for every one.
Should I keep the server up forever?
No — for the best privacy the README suggests treating Algo servers as disposable: spin one up when you need it, use it, then destroy it completely.
What are similar projects?
setup-ipsec-vpn, amnezia-client, SoftEtherVPN, rethink-app, 3X-UI_KIT, redStackPRO, aivpn, wireguard-install
Which topics is it in?
ansible, vpn-server, ubuntu, vpn-client, infrastructure-as-code, firewall, wireguard, dns, privacy-tools, agplv3, ssh, vpn