directusVPN is a VPN (Virtual Private Network) solution built with Directus and OpenVPN. It allows you to create and manage VPN users, providing secure access to your network resources.
Todo
- Debian 11
- Docker
- Node (optional, will be needed when loading extensions)
-
Connect to your VPS through SSH.
-
Navigate to your desired folder and clone the repository:
git clone https://github.com/AristideBH/directusVPN.git cd directusVPN
-
Run the
init_server.sh
to install requirements, and chose the desired options../scripts/init_server.sh
-
Copy the
.env.example
to a new.env
file, and fill-in your credentials and settings. -
Run the deployement
docker compose up # or docker compose up -d
- If you happen to change the
PREFIX
varianle in.env
, make sure to exclude the appropriate folder in.gitignore
. - To load a specific version of Directus (currently 10.4.2), edit the
Dockerfile
.
If you have problems uploading your files to Directus administration, make sure that the uploads
folder have the necessary permissions :
sudo chmod 777 /app_data/uploads
There's currently a problem loading the extensions volume, please do NOT enable it, or try to uncomment RUN command in Dockerfile