Giter Site home page Giter Site logo

manjushanair / wireguest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moriglia/wireguest

0.0 0.0 0.0 82 KB

Django application for Wireguard client side private key generation with third party LDAP authentication

License: GNU General Public License v3.0

Makefile 4.12% Python 73.77% HTML 12.19% C 2.36% JavaScript 7.56%

wireguest's Introduction

WireGuest

Check Python code with Pylava codecov GitHub license

A Django web application for Wireguard key generation and management.

WhyreGuest?

Because with WireGuest private keys are created on the client side of the application. The server never sees the private keys. It receives the public keys from the user.

Usage

In all the following methods substitute make config with make CONFIGURATION_HEADERS=production config after reading config_headers/README.md when working with a custom configuration

Just run

# Only the first time:
make config ;

# then:
python3 manage.py runserver

Run with pipenv

# Only the first time:
pipenv install ;
make config ;

# then:
pipenv run python manage.py runserver

Run with make

# Only the first time:
pipenv install ;
make config ;

# then:
make run

Install as user service

# Pipenv environment creation and service configuration
make config ;
make install ;

# start service
systemctl --user start django-wireguest ;

Install as global service

# without privileges
make service ;

# as root:
cp django-wireguest.service /etc/systemd/system/ ;
systemctl daemon-reload;
systemctl enable django-wireguest ;
systemctl start django-wireguest ;

Requirements

If you use pipenv you may need to install:

  • libsasl2-dev
  • libldap2-dev
  • libssl-dev
  • python-dev

Credits

wireguest's People

Contributors

moriglia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.