Skip to content

Security ​

Under Settings › Security you protect your panel and your streams: against bots on the sign-in forms, against guessed line passwords, against shared accounts, against VPNs and data centres, against attacks on the main server and against clients you don't want at all. On top of that come the Access codes, the secret addresses of your panels.

The running example: your panel runs at panel.example.com. A scraper in a data centre keeps fetching playlists, and one line is obviously used in several countries at once. You set up the protection so that both stop, and you put the panel behind Cloudflare.


1. The terms in one sentence ​

TermWhat it is
ALTCHAA small computing puzzle the browser solves before a form is sent. It costs bots time; people notice nothing.
Brute-force protectionBlocks an IP for a while after too many wrong line passwords.
Account sharingA line is used from more IPs or countries within 24 hours than you allow.
VPN blockRefuses lines that come through a VPN, a proxy or a data centre.
ASNThe number of a network, e.g. a hoster's. With it you block a whole provider at once.
Origin protectionHiding the main server's address and binding stream links to the viewer.
Stream tokenThe part of a stream link that makes it valid only for a short time (and, if you want, only for one IP).
Access codeThe secret first part of a panel's address, e.g. /k7m2q/login.

The short version:

Keep ALTCHA and the brute-force protection on, keep the admin code secret, put the panel behind Cloudflare and run the leak check afterwards.


2. How the page is laid out ​

The Security tab has its own navigation on the left. Each section has its own address that you can bookmark:

SectionAddressContents
Protection/settings#protectionALTCHA, brute-force protection, sign-out after inactivity, account sharing, VPN block
Origin protection/settings#originCloudflare, stream tokens, leak check
Lists › Blocked IPs/settings#blocked-ipsIPs and CIDR networks that are refused
Lists › Blocked networks/settings#blocked-networkswhole networks by their AS number
Lists › Never block/settings#never-blockexceptions that are never blocked
Lists › User agents/settings#user-agentsclients recognised by their user agent
Lists › Temporary bans/settings#bansIPs the brute-force protection is blocking right now

Next to each list is the number of entries in force.

You save Protection and Origin protection with the bar at the bottom of the page ("Save {n} changes"), like the rest of the settings. The lists, the proxycheck.io key and the access codes save at once: "Changes to the lists apply right away."


3. Protection ​

3.1 Bot protection on public forms (ALTCHA) ​

"Sign-in, registration and password reset – panels, customer area and checkout."

  • Require ALTCHA (on by default). "Off: the forms work without the check (e.g. for scripts during tests)."
  • Protected are sign-in, registration, "forgot password" and the reset on the admin and reseller panels and in the customer area, plus the contact form of the storefronts.
  • Addresses that request a great many puzzles or send wrong solutions get much harder puzzles for 10 minutes. Each solution counts only once.

Below, Last 14 days shows what ALTCHA did:

TileMeaning
Let throughForms sent with a valid solution
RefusedForms without a solution or with a wrong one – typically scripts
Reused solutionsA solution was sent a second time and blocked.
Harder puzzlesHow often addresses that behave like a bot got harder puzzles.

The panel's recommendation: "Keep it on."

3.2 Brute-force protection ​

It blocks an IP for a while after too many wrong line passwords.

FieldDefaultMeaning
Failed logins before blocking10 per IP / 15 min0 = off
Block duration60 minutesup to 10,080 minutes (7 days)

Wrong passwords count wherever a line signs in: playlist, player API, stream links, EPG and VOD, MAG boxes, the app and the customer area (including customer logins by e-mail). When the limit is reached:

  • The IP goes onto Temporary bans (section 5.5) and gets no answer until the block duration is over.
  • The username is also locked for 5 minutes, from other addresses too.
  • You get a notification of the Security type (chapter Settings, Notifications).

For MAG boxes the panel also blocks an IP that sends 6 sign-ins of unknown boxes within one hour.

The brute-force protection never blocks IPs and networks on Never block.

Note: signing in to the admin and reseller panels does not count here. It has its own fixed limit (more than 10 wrong passwords for an account or 30 attempts from one IP within 15 minutes, chapter Getting started). That does not block the IP; it is only turned away for a short while.

3.3 Sign-out after inactivity ​

Also on this card:

FieldDefaultApplies to
Sign out panels after inactivity20 minutesteam and resellers
Sign out the customer area after inactivity20 minutescustomers in the customer area

A countdown shows the time left, and a warning comes one minute before; 0 = off. The limit is enforced on the server, not just in the browser: what counts as activity is what you do in the panel, not an open tab.

3.4 Account sharing ​

"A line used from more IPs or countries within 24 hours than allowed is reported (Notifications › Security) and marked in the line list."

FieldDefaultMeaning
Max. IPs per line10 in 24 h0 = off
Max. countries per line2 in 24 h0 = off
When exceededOnly reportOnly report ("You decide what happens.") or Disable the line

With Disable the line the panel disables the line right away and its streams stop. It stays disabled until you switch it back on. The panel's advice: "Mobile users change IPs often – keep the IP limit generous."

There is at most one notification per line every 6 hours. Restream lines are never checked here; for them there is the restream suspect list (chapter Incidents & restream).

3.5 VPN, proxy and data centre block ​

"Restreamers and account sharers often use servers or VPNs; players at home or on mobile don't." This block protects your panel from your customers' own VPNs. It has nothing to do with the VPN in your own app (chapter Apps & VPN).

FieldDefaultMeaning
Block VPNs, proxies and data centresoff"For streams, playlists and the player API. Single lines can be exempted (line → Allow VPN)."
Detectionbuilt-insee below
Always block (ASN)emptyNetworks that always count as VPN, one per line, e.g. AS64500

The two kinds of Detection:

  • Built-in (network list, no external service): "Checks the network of the IP against known hosting and VPN providers. Fast and private; misses some VPNs." It is based on the DB-IP ASN Lite network database, which the panel downloads on start.
  • proxycheck.io: "Asks proxycheck.io per IP (cached for a day; up to 1,000 lookups a day without a key). Falls back to the built-in check." A proxycheck.io API key gives more lookups. Save stores the key at once and encrypted, Remove deletes it.

Under Check an IP you enter an address and click Check. The panel shows the network and whether it treats the IP as VPN / data centre or Home / mobile, with the reason, e.g. "known hosting network" or "on your block list".

Exceptions:

  • You exempt single lines with Allow VPN on the line (chapter Lines, Restrict access). Only the team can do this.
  • IPs, networks and ASNs on Never block never count as VPN.

Caution: Always block (ASN) only works while Block VPNs, proxies and data centres is on, and not for lines with Allow VPN. To block a network for everyone and always, add it to Blocked networks (section 5.2).


4. Origin protection ​

"Whoever knows the main server's address can attack it – then panel, shop, logins and streams stop. Put the panel behind Cloudflare, let only Cloudflare and your load balancers through the firewall, and bind stream links to the viewer. Streams keep running directly from the load balancers (no double bandwidth)."

Each card has a "What is this?" tip with what it does, what it brings and what is recommended.

4.1 Cloudflare in front of the panel ​

A badge shows whether you are reaching the page through Cloudflare or directly.

  • Cloudflare mode (off by default): "Use the visitor's address Cloudflare reports (CF-Connecting-IP), believed only from Cloudflare's networks."
  • Below it the card shows which address the panel sees for you and how many Cloudflare networks it knows. The list is built in and, while the mode is on, refreshed from Cloudflare every day.

How to set it up:

  1. "Add your domain to Cloudflare (free plan) and point its records to the main server."
  2. "Switch panel, login DNS and shop records to "Proxied" (orange cloud); leave delivery domains "DNS only"."
  3. "SSL/TLS mode "Full (strict)" – the server keeps its own certificate."
  4. "Turn on the Cloudflare mode here and run the leak check below."

Caution: never route delivery domains, which carry the video, through Cloudflare. And: if your domains run through Cloudflare but the Cloudflare mode is off, the panel sees every visitor with a Cloudflare address. Bans and limits then hit the wrong addresses.

The panel does not set up the main server's firewall for you. Letting only Cloudflare and your load balancers through is something you configure at your hoster or on the server itself.

"A stream link only works from the address that requested it, and only for a short time."

FieldDefaultMeaning
Bind stream tokens to the IPonA stream link only plays from the IP that fetched it. Shared links don't work anywhere else.
Stream token lifetime12 hours"Hours a stream link stays valid." 1 to 720.

The panel's recommendation: "On, with a short lifetime (e.g. 6 hours). Customers whose address changes very often (some mobile networks) simply get a new link from their app."

Binding requires that the panel and the streaming servers see the same viewer address. If different proxies or NAT sit in front of them, switch it off. MAG boxes are always bound to their IP.

4.3 Leak check ​

"Looks for places that reveal the main server's address: domains not running through Cloudflare, reseller DNS, the public URLs and channels the main server streams itself." Run check runs it; "Run it after every change to domains, Cloudflare or load balancers."

Possible results and what to do:

Message (shortened)What to do
The main server's public address is unknownEnter the main server IP under Settings › Domains, Cloudflare DNS.
{host} points straight to the main serverSwitch the record to "Proxied" in Cloudflare.
Delivery domain {host} is on the main serverMove delivery domains to load balancers (chapter Servers).
{count} live channels are streamed by the main server itselfAssign the channels to load balancers (chapter Live Streams).
Domains run through Cloudflare but the Cloudflare mode is offTurn on the Cloudflare mode.
Stream links are not bound to the viewer's addressTurn on Bind stream tokens to the IP.

"Nothing found." means the check found no gap.


5. Lists ​

Here you block addresses, networks and clients by hand. The lists apply to everything lines and customers use: player API, playlists, streams, EPG, VOD, MAG portal, app, customer area and shop. They do not block the admin and reseller panels.

5.1 Blocked IPs ​

"Single IPs or CIDR networks; their requests are refused." Your own IP is shown at the top. The panel refuses an entry that would block your own IP.

5.2 Blocked networks ​

"Whole providers by their AS number (e.g. a hoster): every request from their addresses is refused." Enter the AS number with or without "AS". Here the panel does not check whether your own IP is inside the network.

5.3 Never block ​

"IPs, networks and ASNs listed here are never blocked – not by the lists, bans, the brute-force protection or the VPN block." When adding, you choose the type: IP / network or ASN. This is the place for, say, your office, your own servers or a partner who uses many lines from one address.

5.4 User agents ​

"Clients whose user agent contains an entry are refused (not case-sensitive); <empty> blocks clients without one."

Add recommended list adds typical scripting tools, e.g. curl/, wget, python-requests and <empty>. Check first whether any of your customers uses a player that identifies itself like that.

5.5 Temporary bans ​

The Blocked IPs card shows whom the brute-force protection is blocking right now: "Temporarily blocked after too many failed logins. They are released automatically." The columns are IP address, reason (e.g. "Too many failed logins") and expiry.

  • Unblock releases an IP at once and resets its failure counter.
  • Flush list lifts all temporary bans.

You don't add anything here by hand. Notifications about bans link straight to this section.

5.6 Adding, changing, removing entries ​

In the lists 5.1 to 5.4:

  1. Add opens "Add to: {name}".
  2. Under Entries, one value per line (commas work too). Lines starting with # are ignored.
  3. Optionally a note, e.g. "scraper, abuse report".
  4. Expires: never, or after one hour up to 90 days. "After that the entry stops working (it stays listed as expired)."

The table shows the entry, the note, who added it and when, and when it expires. From the row menu: Edit (note and expiry only; "The expiry counts from now.") or Delete. Select several rows to remove them at once; Flush list removes everything.

New entries take effect on all servers within about 30 seconds. Expired ones stay in the list marked Expired until you delete them.

Example: stopping the scraper and the shared line ​

  1. The account sharing notification shows you the line. Under Protection › Account sharing you leave Max. countries per line at 2, set When exceeded to Disable the line and keep Max. IPs per line generous at 10. Then save with the bar at the bottom.
  2. The scraper comes from a data centre. Under Check an IP you enter its address: VPN / data centre, with the hoster's AS number.
  3. Under Lists › Blocked networks, Add, enter the AS number, note "scraper", Expires 30 days.
  4. Your own monitoring runs at the same hoster: add its IP under Never block.

6. Access codes ​

The access codes are not on the Security tab but under Settings › General on the Access codes card. "The panels live under their own secret address. Team accounts sign in only on the admin panel, resellers only on the reseller panel."

FieldMeaning
Admin panel"Keep it secret, like a second password." The dice next to it generates a random code.
Reseller panel"Your resellers use this address; it may be known."

Below, the Admin panel address and the Reseller panel address are ready to copy. Rules: "3–40 characters: lowercase letters, digits, - and _; both codes different; not a reserved word (api, account, shop …)."

When you save, the panel asks "Change the access codes?": "The old addresses stop working at once; tell your team and resellers." Your browser then moves to the new address.

  • Only the owner can change the codes.
  • If the admin panel still uses the address /admin, the panel warns: "Choose your own code so bots cannot find the sign-in."
  • Signing in on the wrong panel gives the same message as a wrong password.
  • Forgot the code? According to the panel, the IPTV OS support resets it; write a ticket in your IPTV OS customer area.

This list is based on the recommendations the panel gives itself:

  • [ ] Keep Require ALTCHA on.
  • [ ] Under Access codes, choose your own code for the Admin panel and keep it secret.
  • [ ] Route panel, login and shop domains through Cloudflare (the free plan is enough), then turn on the Cloudflare mode.
  • [ ] Keep Bind stream tokens to the IP on and the Stream token lifetime short (the panel gives 6 hours as an example).
  • [ ] Run the Leak check after every change to domains, Cloudflare or load balancers.
  • [ ] With Disable the line for Account sharing, keep the IP limit generous.
  • [ ] Optionally use Add recommended list under User agents.

8. Who may do what? ​

ActionOwnerAdminStaffViewer
View security✓✓area Settings✓ (without ALTCHA numbers, Check an IP and Leak check)
Change protection and origin protection✓✓area Settings, write–
Edit lists and bans✓✓area Settings, write–
Check an IP, Leak check✓✓area Settings–
Change access codes✓–––
Allow VPN on a line✓✓area Lines & packages, write–

Resellers do not see the settings.


9. Frequently asked questions ​

A customer says they suddenly can't get in. Look under Temporary bans to see whether their IP is blocked and click Unblock. If their player still has old details after a password change, they will be blocked again; then they have to correct the login in the player.

I blocked myself. The lists don't block the admin panel, so you can still get in. Delete the entry or add your IP under Never block.

Since Cloudflare, lots of customers get blocked at once. The Cloudflare mode is probably off. The panel then sees Cloudflare's address for everyone. Turn it on and run the Leak check.

A customer uses a VPN on purpose. How do I let them through? Turn on Allow VPN on their line (chapter Lines).

Shared stream links still work. Check that Bind stream tokens to the IP is on. A link then only works from the IP that fetched it, and only as long as the Stream token lifetime allows.

Why can I see the access codes but not change them? Only the owner can change them.