How to set up IPTV on an Infomir MAG box.
MAG boxes are the easiest IPTV device once they're configured, and the most confusing for ten minutes before that. There's no Play Store, no APK, no Xtream Codes login. Instead, you send us the MAC address printed on the bottom of the box, we whitelist it on the OTTV portal, you paste a single URL into the MAG's portal settings, and the channel list loads on the next boot. After that, the box wakes up straight into Live TV every time. This guide covers MAG 254, 322, 324, 420, 520, and 540, plus the Aura HD and the Android-based MAG models.
At a glance
- Setup time
- 10 minutes. Most of it waiting for the box to reboot.
- App we recommend
- Built-in Stalker portal. No external app needed.
- Difficulty
- Medium. You send us a MAC, we whitelist it, you paste a URL.
- Works on
- MAG 254, 256, 322, 324, 349, 351, 420w3, 424w3, 520, 524w3, 540, and Aura HD. Linux STB and Android-based MAG models both supported.
- You will need
- Your MAG's MAC address (printed on the bottom sticker), the box connected to your TV and network, your OTTV welcome email.
Why MAG setup is different.
MAG boxes don't use a username and password. They authenticate by MAC address against a Stalker portal. The MAC is your account ID, the portal URL is your server, and the channel list pushes to the box every time it boots. No app, no login, no remote typing.
The tradeoff is the whitelist step. We need to add your specific MAC to our portal before the box can connect. That's a one-time email to support, usually answered within 15 minutes during working hours. After that, the box is set for the life of the hardware.
Find your MAG's MAC address.
Flip the box over. The MAC is on the white sticker, labeled MAC, format 00:1A:79:XX:XX:XX. Alternatively from the menu: Settings, System settings, About, MAC. Write it down with the colons.
Send the MAC to OTTV support.
Reply to your OTTV welcome email or use the contact page. We whitelist the MAC on our portal, usually within 15 minutes during working hours. We send back your portal URL when it's ready.
Open the MAG's portal settings.
Press the SETUP button on the MAG remote (the one labeled SET on some remotes). Pick System settings, then Servers, then Portals.
Paste the OTTV portal URL into Portal 1.
Portal 1 name: OTTV. Portal 1 URL: the URL from our reply (looks like http://portal.ottv.org/c/ or http://server.ottv.org/stalker_portal/c/, including the trailing slash). Leave Portal 2 blank.
Save and reboot.
Press OK to save. Reboot from the menu (System settings, Restart portal) or pull power for 10 seconds. On boot the box hits the OTTV portal, pulls your channel list and EPG, and drops you on Live TV.
Need a working MAG portal URL example, or unsure if your model is supported? Message support before you start, we'll confirm the model and send the URL with the whitelist confirmation.
Which MAG model to buy.
MAG 524w3, MAG 540. Current 4K models with HEVC, dual-band Wi-Fi, and Linux STB Linux 5. The right pick if you want the box to last five years.
MAG 420w3, MAG 424w3. 4K capable, slightly older silicon, often half the price of the 524. Solid for a second TV.
MAG 322w1, MAG 324w2. 1080p only, cheap, reliable. Fine if you don't have a 4K TV.
MAG 254. Old, still works on OTTV, but the firmware is end-of-life. Don't buy one new in 2026.
"MAG-compatible" clones. Boxes from random brands claiming to run Stalker. They mostly do, until the first firmware update, then they don't. Stick to genuine Infomir hardware.
Common MAG issues and the real fix.
- "Loading portal" hangs forever.
- Wrong portal URL or missing trailing slash. Copy and paste the exact URL we sent. The MAG is strict about case and the trailing slash.
- "No link" or DNS error on boot.
- Network not connected. Open System settings, Network, and run the connection test. Ethernet is more reliable than Wi-Fi on every MAG model. If you must use Wi-Fi, the MAG 322w1/420w3/520w3 variants are the ones with built-in Wi-Fi.
- Portal loads but says "Authorization failed" or "MAC not registered".
- The MAC you sent us does not match the box's actual MAC. Re-check the sticker (it's easy to misread 0 for O or 8 for B). Send us the corrected MAC, we update the whitelist.
- Channels load, video stutters.
- MAG boxes are sensitive to Wi-Fi. Wire it via Ethernet. If you have to use Wi-Fi, move the router to the same room. Older MAG models (254, 322) max out at 1080p and will struggle with 4K streams.
- EPG is empty.
- Wait 60 seconds on first boot. If still empty, in System settings, Servers, EPG, set the cache size to 12 hours and reboot.
- Portal worked yesterday, today it's blank.
- ISP DNS issue, not OTTV. In Network settings, set DNS manually to 1.1.1.1 or 8.8.8.8.
- I bought a MAG 322w2 second-hand and the previous portal is still saved.
- System settings, Reset settings, Default settings. This wipes the old portal. Then send us the MAC and start at Step 3 above.
Three things worth doing once it's working.
Set the time zone. System settings, Time zone. Pick your local zone, not UTC. Without it, EPG times are wrong by 2-8 hours.
Pin the favorites. Long-press OK on any channel to favorite it. The MAG remote's FAV button jumps straight to the list, useful when 12,000+ channels is too many.
Save the portal URL somewhere. If the MAG ever factory resets, you re-paste the same URL and the box is back in under a minute. The whitelist on our side stays attached to the MAC.
Frequently asked
- Which MAG box should I buy for OTTV?
- MAG 524w3 or MAG 540 for 4K. MAG 322w1 if you're on a budget and only need 1080p. Avoid clones (any box that says "compatible with MAG" but isn't made by Infomir), they fail on firmware updates.
- Is the MAG box one of the best devices for IPTV?
- For pure IPTV portal viewing, yes. It boots straight to live TV, there's no app to install, no Play Store to maintain, and the remote is designed for channel surfing. For on-demand and apps like Netflix, an Android TV box is more flexible.
- Can I use a MAG emulator instead of a real box?
- MAG emulators like StbEmu (Android) and OTT Navigator can load OTTV's portal once we whitelist the emulator's virtual MAC. The setup is identical: send us the MAC, paste the portal URL.
- Why does the MAG need a whitelist when other devices just take a login?
- MAG boxes use the Stalker portal protocol, which authenticates by MAC address rather than username and password. The MAC acts as the account ID. This is faster on the remote (no typing) but means we need the MAC on file before the box can connect.
- Can I move my MAG box to a new house?
- Yes. The MAC stays the same regardless of network, so the whitelist still applies. Just reconnect to Wi-Fi or Ethernet and reboot.
- Do I need a VPN on a MAG box?
- Not for OTTV to work. If your ISP blocks the IPTV port, the only fix on a MAG is to put the VPN on the router, the box itself can't run a VPN client.
- Can I record live TV on a MAG box?
- Some models with a USB port (MAG 420w3, 524w3) support timeshift and recording to a USB drive. The Stalker portal exposes the option under the channel menu. Older models (254, 322) don't.
- How many MAG boxes can I run on one OTTV subscription?
- Each MAG box has its own MAC, so each one needs to be whitelisted separately. Streams are still bound to your plan's concurrent limit (1, 2, or 3 streams).
- What happens if my MAG firmware updates?
- Nothing breaks. The portal config is stored separately from the firmware. After a firmware update, the box reboots and reconnects to the OTTV portal automatically.
- Is the MAG box legal?
- Infomir MAG hardware is legal worldwide and sold openly. Legality depends on the content provider you connect to, not the box. OTTV is a paid subscription, you're responsible for compliance with local law.
Prefer a Firestick or an Android TV box instead? See Set up IPTV on Firestick or Set up IPTV on an Android TV box. Or message support from the contact page.
Ready to try OTTV?
Start with a free trial and see how OTTV runs on your favorite device. Quick setup, responsive support, and a clean experience built for everyday viewing.