description |
---|
A quick guide to set up your exit node |
Docker
and docker-compose
are prerequisites to download and run the docker images and container.
Enter the following commands to download and install docker.
sudo apt update && sudo apt install apt-transport-https ca-certificates curl software-properties-common -y && curl -fsSL
https://download.docker.com/linux/ubuntu/gpg
| sudo apt-key add - && sudo add-apt-repository "deb [arch=amd64]
https://download.docker.com/linux/ubuntu
focal stable" && sudo apt update && sudo apt install docker-ce -y && sudo systemctl status docker
Enter the following commands to download and install docker-compose.
sudo curl -L "
https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$(uname
-s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose && docker-compose --version
Enter the following command into the terminal to pull the BelNet Exit Node image from the docker hub.
docker pull beldex/belnet-exitnode:v1
Enter the following command to get the BelNet yml file from Beldex deb.
sudo apt install wget && wget
https://deb.beldex.io/Beldex-projects/Belnet/docker-compose.yml
Enter the following command to run the yml file as a container.
docker-compose up -d
Enter the following command to get the container ID and other details.
docker ps
Enter the following command after replacing your container ID in place of <container -id>
docker exec -it <container -id> bash
Your exit node is now live. Get your exit node’s BelNet address using the following command.
host -t cname localhost.bdx 127.3.2.1