Host onion services through a VPN connection using Docker.
Docker is used to run:
- Tor: To manage onion services.
- Caddy: To serve content.
- Gluetun: To route Tor traffic through a VPN connection.
- Docker
- Git
- Familiarity with basic command-line operations.
- Clone the repository.
git clone https://github.com/zer-far/onion-nest
cd onion-nest
- Modify environment variables.
- Set up a VPN connection by following the instructions for your provider in the Gluetun Wiki.
- Build and run the containers.
docker compose -f compose.yml up -d --build
- Get your onion service address. Wait for Tor to connect, then run:
cat onion/hidden_service/hostname
- Access your onion service.
- You can use mkp224o to generate a vanity address.