CCrypto VPN public website
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
alice b0b6e53137 more dependencies update il y a 1 mois
ccvpn 404 on page not found (instead of TemplateDoesNotExist) il y a 4 mois
deploy add celery setup instructions il y a 1 an
downloads turn markdown install pages into html il y a 4 mois
kb new footer il y a 7 mois
lambdainst warn on renewal issues il y a 4 mois
locale/fr/LC_MESSAGES warn on renewal issues il y a 4 mois
static css and text fixes il y a 4 mois
templates use flat-table for tickets (fix dark bg) il y a 3 mois
tickets support update il y a 7 mois
.gitignore Add missing downloads app il y a 2 ans
LICENSE Initial commit il y a 5 ans add shell tools il y a 6 mois
kb.json support update il y a 7 mois Use python3 instead of python in il y a 5 ans Add up to date deploy instructions il y a 2 ans
poetry.lock more dependencies update il y a 1 mois
pylintrc Update deps (Django 2.2) il y a 2 ans
pyproject.toml update to lvpn_admin il y a 6 mois
requirements.txt Replace some static settings by dynamic settings il y a 4 ans Multiple unimportant fixes il y a 5 ans

CCrypto VPN

CCVPN is the software we use at CCrypto to provide our VPN. You can see it live at

It handles user management, support tickets, billing and is used as a backend for VPN authentication.
It communicates with an external service, lambdacore, that manages VPN servers and sessions.

Disclaimer: this is a specialized solution that requires proprietary software to function. This repo is a way for us to share our work freely as we don’t believe keeping it secret will do any good; feel free to base your own work on it but don’t except it to be of an use as-is.

CCrypto’s commercial support does not include this and will not help you set it up. Feel free to contact us about ccvpn, but with no guarantee.
PacketImpact however may provide you commercial support and more services about ccvpn and lambdacore.

Getting Started

# Install poetry
pip3 install poetry
export PATH=~/.local/bin/:$PATH  # also add that to your .profile

# Install ccvpn3
git clone
cd ccvpn3
poetry config true
poetry install

cp ccvpn/ ccvpn/
# Edit ccvpn/
# See ccvpn/ for all available settings and defaults

# Those need to be run on installation and updates
poetry run ./ migrate
poetry run ./ compilemessages
poetry run ./ collectstatic

# The standard Django can be called through poetry
poetry run ./ runserver

# Celery worker & scheduler are needed for background tasks
poetry run celery -A ccvpn.celery worker -l debug
poetry run celery -A ccvpn.celery beat -l debug

Debian Deployment

# Install uwsgi and a web server, and python deps
apt install gettext git nginx uwsgi uwsgi-plugin-python3 python3-venv python3-setuptools python3-pip

# Create a new account and switch to it
adduser --disabled-login ccvpn

su - ccvpn
# As ccvpn, follow the instructions in Getting Started
# then Ctrl-D/exit back to root

cp /home/ccvpn/ccvpn3/deploy/nginx.conf /etc/nginx/sites-enabled/ccvpn3.conf
cp /etc/ccvpn/ccvpn3/deploy/uwsgi.ini /etc/uwsgi/apps-enabled/ccvpn3.ini
systemctl restart uwsgi
systemctl reload nginx


# run celery background processes
poetry run celery -A ccvpn worker -l info
poetry run celery -A ccvpn beat -l info
# celery flower monitoring web ui
poetry run flower --port=5555 -A ccvpn

# ~ with systemd services ~

cp ./deploy/ccvpn-*.service /etc/systemd/
systemctl daemon-reload
systemctl enable --now ccvpn-{worker,scheduler,flower}.service