Git Product home page Git Product logo

puq_whmcs-mikrotik-vpn's Introduction

PUQ_WHMCS-Mikrotik-VPN

Module for the WHMCS system. For manage Mikrotik secrets users as a product VPN.

Functions:

  • Auto create and deploy produkt VPN
  • Only Mikrotik API using
  • Multilanguage

Admin area:

  • Create users
  • Suspend users
  • Terminate users
  • Unsuspend users
  • Change the VPN users password
  • Change Package
  • VPN connection status
  • Reset Connection

Client area:

  • Change the VPN password
  • VPN connection status

Testing:

WHMCS: 8.1.3

Mikrotik: CHR 7.3.1


WHMCS part setup guide

  1. git clone https://github.com/PUQ-sp-z-o-o/PUQ_WHMCS-Mikrotik-VPN.git

  2. Copy "puqMikrotikVPN" to "WHMCS_WEB_DIR/modules/servers/"

  3. Create new server Mikrotik in WHMCS (System Settings->Products/Services->Servers)

  • Hostname: Mikrotik DNS (vpn.xxxxx.xxx)
  • Module: PUQ Mikrotik VPN
  • Assigned IP Addresses: pool of IP address for VPN users (One per line)
  • Username: Mikrotik admin user
  • Password: Mikrotik admin user password
  • Port 443 (not 8729)
  1. Create a new Products/Services
  • Module Settings/Module Name: PUQ Mikrotik VPN

Mikrotik part setup guide

Enabling HTTPS Create your own root CA on your router

/certificate
add name=LocalCA common-name=LocalCA key-usage=key-cert-sign,crl-sign

Sign the newly created CA certificate

/certificate
sign LocalCA

Create a new certificate for Webfig (non-root certificate)

/certificate
add name=Webfig common-name=XXX.XXX.XXX.XXX

Sign the newly created certificate for Webfig

/certificate
sign Webfig ca=LocalCA 

Enable www-ssl and specify to use the newly created certificate for Webfig

/ip service
set www-ssl certificate=Webfig disabled=no

Enable api-ssl and specify to use the newly created certificate for Webfig

 /ip service 
 set api-ssl certificate=Webfig disabled=no 

puq_whmcs-mikrotik-vpn's People

Contributors

puq-sp-z-o-o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

puq_whmcs-mikrotik-vpn's Issues

module does not work

hello, good afternoon, I have followed the instructions as explained, but it only remains loading, until whmcs collapses.

I hope you can help me.

Kind regards

Does not work

Fix please.
"Order Accept Encountered Problems
API problem"

Requast

Can You Please Try To Add Bandwidth Usage Graph and also port forwarding system on this module?

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.