We use algo vpn as the base. Install algo on your favorite server. Remember to use wireguard and with all default settings.
Add the following rule on the server. This assumers you did not make changes in the iptables and IP range of the default algo installation.
# iptables -I INPUT -s 10.19.49.2 -d 10.19.49.1 -j ACCEPTYou will need to get bomcapture repository on the server, on compiling that project, you will have two binaries, bomcapture, and ajit.
Start a tmux session.
Next, run bomkesh tool in one terminal (use tmux), ajit in a second terminal, and the python web app in another.
You will need to install postgresql for creation of databases.
- Copy
.env.exampleto.envand modify (or add) configs. - Need to modify
DATABASE_URLin.envto 'postgresql://{user}:{pw}@{server}/{db}' based on your database configuration
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt# create databases
python3 manage.py db init
python3 manage.py db upgrade
python3 manage.py runserverThat should start a server in http://localhost:5000/dnsqueue
If you make changes in the model, run python3 manage.py db migrate to create a migration file
The webapp can be seen at http://10.19.49.1:5000/dnsqueue
More instructions are coming in future.