Apps and VPN
With Apps you get a player app of your own with your name, your colours and your icon. IPTV OS builds it for you, signs it and hosts the download. Under VPN servers you set up that this app sends its traffic through a WireGuard tunnel, over your own servers or servers of the IPTV OS pool.
The running example: you build the app “Muster TV” for your customers and offer a VPN in it over your own server “VPN Frankfurt”.
Both entries are in the menu under Customers & sales. VPN servers carries the BETA badge.
Important first: IPTV OS builds branded apps only for panels hosted at iptv-os.com. If your panel runs on your own hardware, Apps does not appear in the menu; the page then says “Branded apps need an IPTV OS subscription”. Whether apps and the VPN are part of your plan is shown on each page.
1. The terms in one sentence
| Term | What it is |
|---|---|
| App | Your branded player app for Android TV, Fire TV, phones and tablets. |
| Build | A built version of the app (an APK file). Every build is a new version. |
| Core | The base of the app that IPTV OS keeps developing. A new core only reaches your customers with a new build. |
| Default app | The app the customer area offers to your lines (section 4.6). |
| Reseller's app | An app that belongs to a reseller. The customers of their lines get this app. |
| App device | A device with the app that is paired with a line (chapter Lines). |
| VPN server | A WireGuard server the app tunnels its traffic through. |
| Peer | An app device's access to a VPN server. The panel issues one per device. |
| App-only / Full tunnel | Whether the tunnel only reaches your panel and your streaming servers, or everything. |
In short:
Create the app, start a build, hand out the download link. The VPN only works inside your app, and the line's package decides who may use it.
2. The Apps page
At the top it says how many apps you have and how many your plan allows: “{used} of {max} apps (plan {plan}, +{extra} extra).” When every slot is used, you add another app in your IPTV OS customer area. Resellers' apps count too.
Each app is a card with its status (Ready, Building, Not built, Failed), version, Core and Owner. “Customers get this app” marks the default app, “{n} lines get this app” shows how many lines are offered it in the customer area. Below are Download latest, a QR code of the download link and Manage.
The Player errors (24 h) card counts errors the app's player reported on the devices of your lines. A single device's list is in the line's Access dialog under App devices (section 6).
If iptv-os.com cannot be reached right now, the page shows “IPTV OS could not be reached”. You still see what the panel knows; builds and changes only work again once the connection is back.
3. Creating a new app
New app takes you through four steps. The first build starts afterwards from the app's page, not here.
Step 1: Identity
| Field | Meaning |
|---|---|
| App name | Shown under the icon and in the app, up to 30 characters. |
| Short name | Used in the download link. Lowercase letters, digits and dashes, up to 40 characters. Suggested from the name. |
| Package id | The Android application id, e.g. tv.example.app. Leave it empty and IPTV OS assigns one. It cannot change after the first build. |
You cannot use the package name of another brand or another panel.
Step 2: Branding
- Primary colour and Background colour.
- Images: Icon (512 × 512), Logo (transparent PNG, 1024 × 1024), TV banner (320 × 180) and Splash screen (1920 × 1080). PNG only, up to 2 MB each. The panel resizes them to the sizes the app needs.
- Without images the app uses your colours and the first letter of the name.
If you have no artwork, open the Artwork Studio (“Free · in the browser”). It creates the icon, logo, TV banner and splash screen from your name and colours. Use a shop's brand takes the colours of one of your shops. Use these adds the images to the new app, Download ZIP saves them for you.
Step 3: Addresses
| Field | Meaning |
|---|---|
| Owner | Team only: “Nobody (the team)” or a reseller account (any tier) that manages the app on its own. One account can have only one app. |
| Panel addresses | Where the app reaches your panel, up to 5, e.g. https://panel.example.com. The app tries them in order. Add a backup domain in case the first one is blocked. |
| Device prefix | The first three octets of every device id of your panel. IPTV OS assigns it; you cannot change it. |
Under Advanced options:
- Allow plain http: only for testing.
- Certificate pins: optional, one per line. Wrong pins lock your customers out until the next build. Leave the field empty unless you know exactly what you enter.
Step 4: Review
A summary of everything. Create app creates the app; the first version will be 1.0.0.
4. An app's page
Manage opens an app.
4.1 Building a new version
The build button is at the top right:
- Build new version when there is something to build.
- Up to date – nothing to build when nothing changed since the last build and IPTV OS has not published a newer core.
- Building… while a build runs.
Two notices tell you when a build is due: “Core update available” and “The branding or settings changed since the last build.”
In the dialog, Next version shows which version comes out and why. Under What kind of update is it? you choose:
| Choice | Example | When |
|---|---|---|
| Small fixes and updates | 1.7.1 → 1.7.2 | default |
| Big update | 1.7.1 → 1.8.0 | for new features |
| Major version | 2.0.0 | only together with a major IPTV OS release |
If a new core brings big changes, Small fixes and updates is locked. The version only ever goes up. Under Notes you write for your team what changed. Start build queues the build.
A build takes a few minutes. The page follows the progress by itself. Only one build runs per app at a time. If the build server stays silent for 10 minutes or the build takes longer than 45 minutes, it counts as Failed.
4.2 Builds
The Builds card lists every version with Version, Core, Status (Queued, Running, Done, Failed, Cancelled), Created and Duration. Each row has Download, Build log and, while it runs, Cancel build.
IPTV OS removes older APKs after new builds. The current and the previous version are kept.
4.3 Branding and addresses
In Branding you change name, colours and images. The preview shows the Android TV banner and the phone icon. Download images (ZIP) saves all images. In Panel addresses you change the addresses.
All changes apply to the next build only. If you remove an image, the next build uses the default picture; with Undo you get it back right after.
4.4 Download
The Download card shows the link to the latest APK, the QR code and whether customers get this app. Under Actions, Open download page opens the page your customers see.
4.5 Customers & updates
“What the customer area and the installed app get for this app”:
| Field | Meaning |
|---|---|
| Own download link | Shown to customers instead of the latest build's link. Empty = the build. |
| Downloader code | Optional: a short number (4 to 10 digits) for the Downloader app on Fire TV / Android TV. You create it once yourself with your download link at go.aftvnews.com. The customer area shows it. |
| Minimum app version | Older apps are asked to update. Empty = any version. |
| Message in the app | Shown to every device when the app starts, e.g. “Maintenance on Sunday 3–4 am …”. |
The latest version comes from the builds; installed apps are offered it by themselves.
4.6 Default app and resellers' apps
Which app a line is offered in the customer area:
- If the account that owns the line, or an account above it, has an app of its own that has been built, the line gets the app of the nearest such account.
- Otherwise it gets the panel's default app.
Your first app becomes the default app by itself. You make another one the default under Actions › Make this the default app. A reseller's app can never be the default.
An installed app always takes its updates, minimum version and message from its own entry, even if you pick a different default app later.
A reseller as Owner manages the branding, builds, message, Downloader code, minimum version and own download link of their app. The package id and the panel addresses are set by the team. A reseller's app starts with the reseller's own domain. If the account is deleted, the app goes back to the team.
4.7 Deleting
“The app is removed from the panel; its downloads stop within 30 days. Installed apps keep working until you remove their panel access.” If it was the default app, the panel picks a new one.
Example: “Muster TV”
- New app, App name “Muster TV”, Short name
muster-tv, leave the package id empty. - In the Artwork Studio create icon, logo, banner and splash screen, Use these.
- Panel addresses:
https://panel.example.com, plus a backup domain. - Create app, then on the app's page Build new version › Start build.
- After a few minutes the build is Done. Under Download you copy the link or show the QR code. As your first app, “Muster TV” is the default app: the customer area offers it to your lines.
5. App settings
At the bottom of the Apps page are the settings that apply to every app of your panel.
5.1 General
- Device prefix: see section 3, display only.
- Device changes per day (default 3, 0 = no limit): how often a customer may add or remove devices of a line per day. Pairing in the panel does not count. The counter starts again at midnight.
5.2 Server address
“What customers and resellers get to see of the server, and whether classic logins still work.”
- Hide the server address from customers: no M3U or Xtream links, no server row in the customer area, in mails or help texts. Username and password stay visible.
- Hide it from resellers too: only together with the switch above. Staff always see the address.
- Classic logins:
- Allowed – playlists, Xtream and the app (default).
- App only – playlists and Xtream logins are refused: only app devices and MAG boxes can still watch.
Caution: In app-only mode M3U playlists, Xtream Codes logins and playlist links of every line are refused as soon as you save. The panel does not record which lines still use M3U or Xtream. Make sure your customers have moved to the app before you switch.
5.3 MAG portal
For set-top boxes when the server address is hidden:
- Show the MAG portal URL to customers (default on): customers with a MAG line still see their portal URL.
- Portal host: a host of its own for MAG portal URLs, e.g.
mag.example.com. Empty = the panel address.
If app devices, the hidden server address and the app-only mode are not part of your plan, you see the settings but cannot change them.
6. App devices on the line
You find a line's devices in the Access dialog under App devices (chapter Lines, section 5). In short:
- On first start the app shows a 6-digit code. The customer enters it in the customer area, or you pair it under Pair with code. The code is valid for 10 minutes.
- How many devices a line may pair is set by Devices on the line, otherwise on the package, otherwise Max connections applies.
- Each device has Rename, Disable, Revoke VPN and Remove. Remove and disable sign the device out at once and also take away its VPN access.
- Player errors shows the last 50 errors the app reported on this device.
7. VPN servers
“WireGuard servers the IPTV OS app tunnels its traffic through – your own servers or servers of the IPTV OS pool. The panel issues one peer per app device.”
The VPN only works inside the app. It is something different from the block for VPN, proxy and data centres under Settings › Security and the Allow VPN switch on the line: those protect your panel against your customers' own VPNs.
7.1 VPN settings
At the bottom of the page:
| Field | Default | Meaning |
|---|---|---|
| Offer the VPN | off | “Devices of lines whose package (or line setting) allows it can connect.” As long as the switch is off, nobody connects. |
| Mode | Optional | Optional – the viewer switches it on or Always on – the app connects by itself. With Always on the app blocks playback when the tunnel is down and explains why. |
| DNS in the tunnel | 1.1.1.1 | One or two resolvers, comma-separated |
| Show server regions | on | The app lists every server with its region. |
7.2 Who may use the VPN
You do not set this on this page, but on the package and the line:
- On the package: VPN in the app (default on), chapter Packages.
- On the line: VPN in the app with As the package (default), Allowed or Off. Only the team can set it.
Only regular lines can use the VPN, MAG and restream lines never.
Caution: If you switch the VPN off for a package, a line or with Offer the VPN for everyone, devices get no new access. Peers already issued are not revoked by that. To take the tunnel from a device at once, use Revoke VPN on the device.
7.3 Adding your own server
You need a fresh server with Ubuntu 22.04 or newer or Debian 12 and a public IP.
- Add own server.
- Name (e.g. “VPN Frankfurt”), Region, Country, City and optionally Coordinates. The app orders the servers by distance to the device.
- IP address or host name, SSH port (22), SSH user (root or a user with sudo) and Password. The password is used once and never stored.
- Endpoint (empty = the SSH host) and WireGuard port (default 51820).
- Switches:
- App-only (default on), see 7.5.
- Set up the firewall: only SSH, the WireGuard port (UDP) and the agent port 7443 stay open.
- Disable SSH password logins.
- Set up now. The panel installs WireGuard and its agent, secures the server and shows the steps.
The panel must reach the server over SSH and on port 7443, the devices the WireGuard port over UDP.
7.4 Servers from the IPTV OS pool
Hosted panels can use the IPTV OS pool instead of servers of their own: ready WireGuard servers in several countries. You book it in your IPTV OS customer area; with Add from IPTV OS pool › Add you bring the assigned servers into the panel.
The IPTV OS pool card shows your plan, how many Devices of it you use and the Traffic this month. What traffic beyond the included amount costs is shown on the card. When the device limit is reached, the app falls back to your own servers; new pool connections are refused until you revoke a device or upgrade the plan.
For pool servers the endpoint, Max. devices and App-only are set by the IPTV OS team. If the pool subscription expires, the panel switches the servers off and back on by itself once the pool is booked again.
7.5 App-only or full tunnel
| Kind | What the tunnel reaches |
|---|---|
| App-only | Only your panel, your streaming servers and the tunnel's DNS. Outside the app the VPN is no use to anyone. |
| Full tunnel | Everything. |
With App-only, the panel sends the list of allowed destinations to the server by itself whenever it changes (e.g. a new server or a new domain). Push now sends it again.
7.6 The server list
The columns are Server, Type (IPTV OS pool or Own server, plus App-only or Full tunnel), Status, Version, Peers, This month and Last seen. Details opens a server with its load, endpoint, subnet and these actions:
| Action | Effect |
|---|---|
| Peers | Which devices have access right now, with Last handshake and Traffic. Here you revoke single peers. |
| Check now | Queries the server at once. |
| Push now | Only for App-only: sends the allowed destinations again. |
| Update agent | For your own servers set up by the panel: updates the agent over SSH. The peers stay. |
| Edit | Name, country, city, coordinates, region, endpoint, Max. devices (0 = the agent decides), App-only |
| Setup log | What happened during setup |
| Disable | Revokes every peer on the server; connected devices lose the tunnel. |
| Delete | Revokes the peers and forgets the server. The agent keeps running on the machine. |
With Update {n} agent(s) at the top you update all outdated agents one after the other. It happens automatically with Update load balancers and VPN servers automatically on the Servers page (chapter Servers).
The app connects to the nearest server that is not full. Offline servers are skipped when another one is online.
7.7 When a peer is revoked
- You remove or disable the app device, or you click Revoke VPN.
- The line is deleted, disabled or expires (the panel checks every 5 minutes).
- The server is disabled or deleted.
Example: VPN over “VPN Frankfurt”
- Add own server, name “VPN Frankfurt”, country Germany, App-only on, Set up the firewall on, Set up now.
- Once the server is online: in the VPN settings switch Offer the VPN on, Mode Optional, Save.
- Your package has VPN in the app on (default). Your customers' devices now see a VPN switch in “Muster TV”.
Note: Whether an app has a VPN section is decided at build time. If it was built while the VPN was not part of your plan, you need a new build.
8. Who may do what?
| Action | Owner, admin | Staff | Viewer | Reseller |
|---|---|---|---|---|
| View apps | ✓ | area Settings | ✓ | their own app and those of the accounts below |
| Create and delete apps, pick the default app | ✓ | area Settings, write | – | – |
| Branding, builds, customers & updates | ✓ | area Settings, write | – | their own app |
| App settings | ✓ | area Settings, write | view only | – |
| VPN servers and VPN settings | ✓ | area Settings, write | – | – |
| Pair and remove app devices | ✓ | area Lines & packages | – | on their own lines |
| Revoke VPN on a device | ✓ | area Settings, write | – | – |
9. Frequently asked questions
I do not see “Apps” in the menu. Your panel does not run at iptv-os.com, or your plan contains no apps. IPTV OS builds branded apps only for hosted panels.
I changed the logo, but customers still see the old one. Changes to branding and addresses only apply from the next build. Click Build new version.
Do my customers need a new download for an update? No. Installed apps are offered the latest version by themselves.
Can a reseller have an app of their own? Yes. Create the app and pick them as Owner. The customers of their lines and of the accounts below them then get their app.
I switched the VPN off for a package, but devices are still connected. Issued peers stay until the device is removed or disabled or its peer is revoked. Take the tunnel away with Revoke VPN on the device.
What is the difference between “VPN in the app” and “Allow VPN”?VPN in the app allows a line to use the VPN of your app. Allow VPN exempts a line from the block for other VPNs and proxies (chapter Lines).