Skip to content

How to run the AI VPN in Digital Ocean

Veronica Valeros edited this page Oct 27, 2022 · 1 revision
  1. Create a new droplet in Digital Ocean with the following minimum requirements:
    • Ubuntu 20.04LTS
    • At least 1GB of memory
  2. Configure the droplet (assumes access to the droplet)
    • Install updates: apt update && apt dist-upgrade
    • Install docker and other requirements: apt install -y docker docker-compose net-tools vim htop tcpdump
  3. Clone the AI VPN repository from GitHub:
    • git clone https://github.com/stratosphereips/AIVPN.git
  4. Configure the AI VPN:
    • Copy and edit the config.ini:
      • cp config/config.ini.example config/config.ini
      • vim config/config.ini
    • Copy and edit the .env Wireguard configuration:
      • cp .env_TEMPLATE .env
      • vim .env
    • Copy the docker-compose.yml:
      • cp docker-compose_EXAMPLE.yml docker-compose.yml
  5. Build the AI VPN modules:
    • ./build.sh
  6. Run the AI VPN with docker compose:
    • docker-compose up -d
  7. Check the logs to see if things are running
    • tail -f logs/mod_*.log

Clone this wiki locally