You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Alice 24b8e588c1 Fix bitcoin backend external URL 6 years ago
ccvpn Add coingate 6 years ago
lambdainst Add coingate 6 years ago
locale/fr/LC_MESSAGES Add message on top of the chat 8 years ago
pages Fix typo on privacy.en.md 6 years ago
payments Fix bitcoin backend external URL 6 years ago
static Add coingate 6 years ago
templates Update home page 6 years ago
tickets Update deps (Django 2.2) 6 years ago
.gitignore Update deps (Django 2.2) 6 years ago
LICENSE Initial commit 8 years ago
README.md Update README.md 7 years ago
manage.py Use python3 instead of python in manage.py 8 years ago
poetry.lock Update deps (Django 2.2) 6 years ago
pylintrc Update deps (Django 2.2) 6 years ago
pyproject.toml Update deps (Django 2.2) 6 years ago
requirements.txt Replace some static settings by dynamic settings 7 years ago
update.sh Multiple unimportant fixes 8 years ago

README.md

CCrypto VPN

CCVPN is the software we use at CCrypto to provide our VPN. You can see it live at https://vpn.ccrypto.org/

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

    pip install --user git+git://github.com/PacketImpact/lcoreapi.git
    git clone https://github.com/CCrypto/ccvpn3.git
    cd ccvpn3/

    ./manage.py createsuperuser
    ./manage.py runserver

CRON

For bitcoin payments, you will need to run a script regularly to check for verified transaction. Another to delete old cancelled payments. And another to send expiration emails.

*/5 * * * * /home/vpn/ccvpn3/manage.py check_btc_payments
0 0 * * * /home/vpn/ccvpn3/manage.py expire_payments
0 */6 * * * /home/vpn/ccvpn3/manage.py expire_notify