GuideVPN API

How to Build Your Own VPN App (Without Running Servers)

A VPN product has two halves: the network and the app. Here is how to get both without building or running the network yourself.

Short answer

Use a VPN API for the network half and build only the app. Your app signs the customer in, gets a WireGuard config for the chosen server from the API (GET /vpn/config) and connects with the free WireGuard library for each platform. If you would rather not build an app at all, ready-made apps that show your logo after sign-in let you launch the same day.

The fastest option: no app to build

With ResellPortal your customers can use ready-made apps for Windows, Mac, Android and Android TV / Fire TV. After they sign in, the app shows your logo and colours. iPhone is coming soon, and Linux works with the free WireGuard app. You launch the same day and spend your time on selling instead of app store reviews.

Building your own app, step by step

  1. Sell the account. When a customer pays on your website or in your app, your server creates the VPN account with POST /orders.
  2. Show the locations. Your app gets the server list from your backend, which calls GET /vpn/servers.
  3. Get the config. When the customer taps a location, your backend calls GET /vpn/config and passes the WireGuard config to the app.
  4. Connect. The app starts the tunnel with the WireGuard library for its platform.
  5. Handle billing. Suspend the account with POST /vpn/suspend if a payment fails, and turn it back on with POST /vpn/unsuspend.

Keep your API key and secret on your server. The app should only ever talk to your own backend.

The libraries for each platform

PlatformHow the app connects
AndroidThe official WireGuard tunnel library for Android, inside a VpnService
iPhone and iPadWireGuardKit inside a Packet Tunnel Network Extension
MacWireGuardKit inside a Network Extension
WindowsThe embeddable WireGuard tunnel service

All of them are free and open source. Apple requires a paid developer account for VPN apps on iPhone and Mac.

What it costs

The network costs $1.75 a month per customer at wholesale with ResellPortal, with no platform fee. Your own costs are the app development, the Apple and Google developer accounts, and your time on store reviews. If you use the ready-made apps, the network is your only cost.

Frequently asked questions

Yes. Use a VPN API for the accounts and server configs, and build only the app. ResellPortal provides 32 servers in 19 countries through its API.

A backend that calls the VPN API, an app that uses the WireGuard library for its platform, and developer accounts with Apple and Google if you publish to their stores.

Yes. ResellPortal’s ready-made apps for Windows, Mac, Android and Android TV / Fire TV show your logo after sign-in, so you can sell a branded VPN without writing code.

With the ready-made apps you can sell the same day. Building your own app usually takes a few weeks per platform, plus app store review.

Get the network for your VPN app

Free account, free test mode and no monthly platform fee. You only pay wholesale ($1.75 a month per VPN account) when you create one.

Launch Your White Label VPN Business Today

The global VPN market grows 15%+ every year. Launch in 5 minutes with zero upfront cost — keep 100% of your earnings.

No credit card required $0 monthly platform fee Live in 5 minutes Cancel anytime