cd ~/store/wireguard-portal
WireGuard Portal
Sell WireGuard VPN plans from Paymenter. Peers are created in wg-portal, and customers get their configs, QR codes and live usage on the service page.
Paymenter extensions
Extension
v0.1.1 Paymenter 1.x 4 sold
WireGuard Portal connects Paymenter to wg-portal. When someone buys a VPN plan, it creates their WireGuard peers in wg-portal, gives them their configs and keeps the plan's limits in check.
What your customers get
- A config for every device on their plan, to copy, download as a
.conffile or scan as a QR code on their phone - Live download and upload totals for each device, with a rate graph
- An overall usage panel showing where they stand against the plan's data cap
What you set per plan
- How many devices (peers) each service includes
- Endpoint, allowed IPs, DNS and keepalive for the client configs
- Download and upload speed limits in Mbps. A device that goes over is paused for a cooldown you choose.
- A monthly data cap in GB across all of a service's devices. Once it's used up, the VPN switches off until the next month or until the customer moves to a bigger plan.
Setup
Put it in extensions/Servers/WireGuardPortal, enable it under Admin → Extensions → Servers, and point a server at your wg-portal URL with an admin API token. The Test Config button checks the connection.
A queue worker is recommended so limits are enforced in the background. Without one, they're checked whenever a customer opens their service page.
The full README with every setting is in the download.
Specifications
- CATEGORY
- Paymenter extensions
- TYPE
- Extension
- VERSION
- 0.1.1
- RUNS ON
- Paymenter 1.x
- NEEDS
- A wg-portal instance with its REST API reachable from Paymenter
- SIZE
- 28 KB
- LICENSE
- No key needed
- DOWNLOADS
- 5 per purchase
- UPDATED
- MADE BY
- Utkarsh Samdani