Skip to content

Self hosted lightweight refferal management system for vpn

License

Notifications You must be signed in to change notification settings

Tan4ek/get-your-vpn-config

Repository files navigation

openvpn - application

  • docker container + (уже есть)
  • as service systectl

Admin flow

  • console/http request to service to
    • generate new user w/ security code
    • save it to db
    • return security code associated w/ user

User flow

  • user opens web page
    • enter security code
    • make up password for new ovpn file
  • service asks openvpn
    • openvpn generate key pairs
    • openvpng enerate ovpn file
    • service returns ovpn file

How to run

cp config.ini.example config.ini

docker build -t get-your-vpn-config .

docker run --rm --name get-your-vpn -v $(pwd)/config.ini:/app/config.ini -p 8080:8080 get-your-vpn-config

Or

touch get-your-vpn-config.sqlite3

docker-compose up

How to run tests

./run_tests.sh

About

Self hosted lightweight refferal management system for vpn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages