PUQ Mautic

WireGuard Business-VPN WISECP module

The module is created to empower IT companies to enrich their service offerings through the provision of paid WireGuard VPN accounts. Once installed, the module takes care of the entire process of creating, modifying, and suspending WireGuard VPN accounts. It seamlessly integrates with the WISECP billing system, streamlining the exchange of crucial data for customer settlements, account activations, and service suspensions. In essence, the service is tailored for business clients who have the capability to manage their VPN accounts.

Description

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

The WireGuard Business-VPN module is designed to provide a customizable Virtual Private Network service for business clients who have the capability to independently manage their VPN accounts.

At its core, the module gives the end customer control over a group of VPN account entries, allowing them to add, remove, block, and perform port forwarding on these accounts. All accounts are part of a unified network and share a common external IP address. Additionally, there's a feature enabling internal traffic to be routed among these accounts.

This innovative system empowers end clients to establish corporate private networks tailored to their own customers. With the flexibility to manage VPN accounts and the added functionality of internal traffic forwarding, businesses can customize their VPN service to meet the specific needs of their clientele.

Attention.
The module require the PUQVPNCP control panel with active license.

PUQVPNCP Documentation
PUQVPNCP Download
PUQVPNCP Order now

Requirements
WISECP: v3.1.5+, php: v8.x, Ioncube: V12+
PUQVPNCP: v1.8+

Supports protocols:
Module Functions:
Available options in the admin panel:
Available options in the client panel:
Screenshot of the client area

 

image-1700947888529.png

image-1700947938563.png

Screenshot of the Admin area

image-1700947993198.png

 

 

 

 

Changelog

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ
v1.2 Released 07-04-2024

 - Added "endpoint configuration option" to service configuration


v1.1 Released 15-02-2024

 - Fixed a bug with some cases where it was not possible to delete the server
 - Improved security


v1.0 Released 06-12-2023

First version

Installation and configuration guide

Installation and configuration guide

Setup (install/update)

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

To install and update a module, you must perform one and the same action.

 
1. Download the latest version of the module.
wget https://download.puqcloud.com/WISECP/Product/PUQ_WISECP-WireGuard-Business-VPN/PUQ_WISECP-WireGuard-Business-VPN-latest.zip

All versions are available: https://download.puqcloud.com/WISECP/Product/PUQ_WISECP-WireGuard-Business-VPN/

 
2. Unzip the archive with the module.
unzip PUQ_WISECP-WireGuard-VPN-latest.zip
 
3. Copy and Replace "puqMikrotikWireGuardBusinessVPN" from "PUQ_WISECP-WireGuard-Business-VPN" to "WISECP_WEB_DIR/coremio/modules/Product/"
Installation and configuration guide

License Activation

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ
1. Log in to the administrative area of your WISECP.

2. Go to module configuration.
Services -> Service Management -> Module Settings -> Other -> All Modules -> PUQ WireGuard Business-VPN

image-1700485721333.png

image-1700485726951.png

image-1700485737918.png

image-1700948655328.png

 

3. On the open page, enter the purchased license key for this product and click the 'Check and Save' button to validate the key and save it.

image-1700948678665.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Installation and configuration guide

PUQVPNCP installation and configuration

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ
 
Official documentation:

PUQVPNCP Documentation
PUQVPNCP Download
PUQVPNCP Order now

1. Install the required packages

apt-get update
apt-get install wireguard wireguard-dkms wireguard-tools -y
apt-get install iproute2 iptables -y
apt-get install bind9 -y

2. Download the latest version of the package

https://download.puqcloud.com/cp/puqvpncp/

3. Install the puqvpncp package

wget https://download.puqcloud.com/cp/puqvpncp/puqvpncp_XXXX_amd64.deb
dpkg -i puqvpncp_XXXX_amd64.deb

4. After installation, connect to your server via a web browser.

http://SERVER_IP:8098
Username: admin
Password: admin

image-1669217804065.png

image-1668690609770.png

 

5. Enable SSL Let’s Encrypt

Requirements

In order for the system to start the procedure for obtaining an SSL certificate from Let's Encrypt, it is necessary.

In the configuration file, enable the use of SSL and enter the domain name.

nano /etc/puqvpncp/puqvpncp.conf 
LetsEncrypSSL=yes
Domain=XXXXXX.XXX

Restart the PUQVPNCP service

service puqvpncp restart

After these steps, the first time you connect to the server via the https protocol, the system will request an SSL certificate and automatically renew it if necessary.

ATTENTION. After activating SSL, the system will only work in the https protocol on port 443.
A redirect is also set from port 80 to port 443.

To connect to the server via the https protocol, use only the domain that was set in the configuration file.
Otherwise, you will get an error that SSL is not working correctly.

 

6. License configuration is available in the menu item Settings->License

image-1668763551186.png

By default, the system limit is 50 users and the API is disabled.

In order to activate the license key, the key must be entered in the "License Key" field and click on the "Save" button

image-1668764171867.png

 

7.Creation of access API

To manage API Access Hashs, go to the section Settings->API

image-1668764483617.png

Enter the name and IP address of the WHMCS server and click the ADD button

Attention.
The generated Access hash will only be shown once. Copy it, it will be needed during configuration of the product server in the WHMCS system.

Accept the fact that once the Access Hashs API is created, it will only be shown once.
Each API Access Hash only works from a specific IP address.

 

8. Creation of access API

Add new WireGuard is available in the menu item VPN servers->WireGuard->Click Create

image-1669367825882.png

 

image-1669367860027.png

Enter or edit the parameters of the new server/interface and click the ADD button

 

 

Installation and configuration guide

Add server (PUQVPNCP) in WISECP

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ
1. Log in to the administrative area of your WISECP.

2. Go to module configuration.
Services -> Service Management -> Module Settings -> Other -> All Modules -> PUQ WireGuard Business-VPN

image-1700485721333.png

image-1700485726951.png

image-1700485737918.png

image-1700949587202.png

 

3. In the opened page, click the 'Add Server' button.

image-1700949625533.png

4. On the opened page, enter all the necessary information:

image-1700949744724.png

 

 

 

 

 

 

 

 

 

 

 

 

 

Installation and configuration guide

Service/Product configuration

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

If you do not have a Service Group where you want to place the new service, you need to create a new Service Group

1. Log in to the administrative area of your WISECP.
2. Create New Service Group


Go to

Services -> Service Management -> Add Group

image-1700487270737.png

Enter all the necessary data and click the 'Create Group' button.
image-1700487384497.png

3. Adding a New Service

Go to

Services -> our service group where you need to add the new service.

image-1700487595449.png

In the opened window, click the 'Create New Service' button.

image-1700487653237.png

On the opened page, enter all the necessary details for your new service and navigate to the 'Core' tab.

Select the 'PUQ WireGuard Business-VPN' module from the drop-down list of modules.

image-1700950132729.png

4. Fill in the configuration options according to your preferences.

 

WireGuard clients configuring

WireGuard clients configuring

WireGuard Official clients

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

Our solution works great with official client programs. We strongly invite you to use them.

image-1668782960072.png image-1668783561800.png

You can download from the https://www.wireguard.com/install/

Please always download latest versions. The following list is intended as a general direction only.


Windows [7, 8.1, 10, 11, 2008R2, 2012R2, 2016, 2019, 2022 – v0.5.3]

Download Windows Installer
Browse MSIs


macOS [app store – v1.0.15]

Download from App Store


Android [play store – vunknown – out of date & f-droid – v1.0.20220516]

Download from Play Store
Download from F-Droid


iOS [app store – v1.0.15]

Download from App Store


Debian/Ubuntu

$ sudo apt install wireguard

 

WireGuard clients configuring

Android WireGuard client configuration

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

In order to connect to a VPN, follow these steps:

WireGuard clients configuring

macOS WireGuard client configuration

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

In order to connect to a VPN, follow these steps:

WireGuard clients configuring

Windows WireGuard client configuration

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ
 

In order to connect to a VPN, follow these steps:

WireGuard clients configuring

Linux WireGuard client configuration

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ
 

In order to connect to a VPN, follow these steps:

WireGuard clients configuring

Mikrotik WireGuard client configuration

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

Configuring Mikrotik as an WireGuard Client.

 

Make sure you have an up to date routerOS system.

Version must be at least: 7.6

[admin@VPN-CLIENT] > system package print 
Columns: NAME, VERSION
# NAME      VERSION
0 routeros  7.6    

image-1671100595697.png

 

Login to Mikrotik via Winbox

Click on the menu item WireGuard In the window that opens, in the WireGuard tab, click the plus to add a new WireGuard interface

image-1671100789370.png

Copy the private key from the text configuration from the [Interface] section to the PrivateKey field in the WireGuard interface settings in Mikrotik

Click OK to create the interface

image-1671101049703.png

Go to the peers tab.
Click plus to add a new peer

image-1671101223879.png

 

Interface - Select the previously created WireGuard interface 

Public key - Copy the public key from the text configuration from the [Peer] section to the Public key field

Endpoint - Copy the server address from the text configuration from the [Peer] section to the endpoint field

Endpoint Port - Copy the server port from the text configuration from the [Peer] section to the Endpoint Port field

Allowed Address - Copy AllowedIPs from the text configuration from the [Peer] section to the Allowed Address field

Persistent Keepalive - Copy the PersistentKeepalive from the text configuration from the [Peer] section to the Persistent Keepalive field

Click OK to create a peer

image-1671101662963.png

In order to have communication with the server, you need to set the address on the WireGuard interface

 

Go to the menu item IP->Addresses In the window that opens, click the plus to assign an IP address to the WireGuard interface

image-1671101826333.png

Addresse - Copy the Address from the text configuration from the [Interface] section to the Address field

Interface - Select the previously created WireGuard interface 

Press the OK button to confirm

image-1671102046038.png

 

You also need to configure the traffic routes you need at your discretion.

 

WireGuard clients configuring

iOS WireGuard client configuration

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

In order to connect to a VPN, follow these steps:

Admin Area

Admin Area

Order Detail

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

Navigate to the service you want to manage, then go to the 'Core' tab.

image-1700950836058.png

In the opened tab, you have a view of the online status of the service. The available online information includes:

Also, below are fields with the client's personal data, such as Username, Server, and Dedicated IP.

You can also individually override package options for the client by checking the 'Overwrite package settings' box.

After modifying the configuration options, check the 'Send changes to server' box to save the data to the PUQVPNCP server.

 

image-1700950892888.png

 

Note: When changing the Server Group, Server, and WireGuard Server fields, make sure you have a user with the username as specified in the 'Username' field pre-created on the new server. Otherwise, you will need to recreate the service for your client.









Client Area

Client Area

Product Home Screen

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

 

Available options in the client panel:
Screenshot of the client area

image-1700952243971.png

Client Area

Add VPN account

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

 

To create a new VPN account, you need to click on the "Add VPN Account" button on the main screen of the product.

image-1700926595587.png

In the opened window, you need to enter the Username, Password and select an IP address for the account that the account will use. Don't forget to click the "Add VPN Account" button.

image-1700952389854.png

Client Area

Port Forwarding

WireGuard Business-VPN module WISECP 

Order now | Download | FAQ

To access the port forwarding settings, you need to click on the "Port Forwarding" button on the main screen of the product.

image-1700926797237.png

 

To create a new port forwarding rule, enter the port you want to forward, select the protocol, choose the VPN account from the dropdown list to which the port will be forwarded, and enter the port to which the forwarding will occur. After filling in the details, press the "Add Port Forwarding" button.

image-1700952474131.png