Network and firewall
Visitors connect to the wall computer over the local network. Casts go straight from the visitor's device to the wall computer, with no relay or cloud service. The wall also checks whether it can reach the MT Caster download address (see below).
Ports on the wall computer
Allow these inbound connections to the wall computer.
| Port | Protocol | Used for |
|---|---|---|
| 8730 | TCP | Status and settings page, MT Caster download, join page and the start of WebRTC casts. The port is [web] port. |
| 50730 to 50739 | UDP | WebRTC video from MT Caster and browsers. The range is [webrtc] udp-ports. |
| 7000, 7001, 7100 | TCP | AirPlay |
| 6000, 6001, 7011 | UDP | AirPlay |
| 5353 | UDP | Device discovery (mDNS) for AirPlay, and room discovery for MT Caster |
Firewall
-
Ubuntu. The package opens no ports. Ubuntu has no firewall switched on by default. If you use
ufw, run:sudo ufw allow 8730/tcp sudo ufw allow 50730:50739/udpAllow the AirPlay ports from the table too if you use AirPlay.
-
Windows. The installer adds rules for the Domain and Private network profiles only. Add your own rules if the wall's network is marked Public.
Requirements for AirPlay
AirPlay finds the wall with mDNS. mDNS does not cross routers by default.
- The visitor's device and the wall computer must be on the same network segment, or your network must forward mDNS between them.
- A guest Wi-Fi network that isolates clients from each other blocks AirPlay. Put the wall computer on the guest network, or allow guests to reach it.
- Windows wall computers need no Apple Bonjour. They use Windows' own mDNS service. See Installing on Windows.
Use [airplay] interface to limit AirPlay to one network card when the wall computer has several.
Requirements for MT Caster and browsers
- WebRTC works on the local network only. There is no relay server.
- Visitors need to reach TCP 8730 and the UDP range on the wall computer.
- The wall's name or address must work from the visitor's network. The card and QR codes show
[web] public-host, or the wall's network IPv4 address when it is empty. Setpublic-hostto a name that visitors can resolve.
Room discovery for MT Caster
MT Caster asks only for the join code. It finds the room itself: each wall announces its room on the local network with mDNS (DNS-SD service _mtcast._tcp, the room name, the web port and a short wall ID; never the join code), and MT Caster asks each wall it finds whether the code is its own (POST /api/join/check on TCP 8730).
- The wall announces the room while MT Caster is on (
[caster] enabled=true) and the wall is licensed or in its trial. - Like AirPlay, discovery needs UDP 5353 between the laptop and the wall, on the same network segment or through an mDNS gateway.
- Ubuntu walls announce through
avahi-daemon, which the package installs. Windows walls use Windows' own mDNS service (Windows 10 1809 or later) and need no Bonjour. - The status page shows Room discovery (MT Caster): announced, not announced, or why not. From another computer,
avahi-browse -rt _mtcast._tcp(Linux) ordns-sd -B _mtcast._tcp(Mac) lists the rooms. - On a network that blocks mDNS, visitors use Enter the wall's address in MT Caster's connect window.
- Room checks have a limit of their own: after ten wrong codes in a minute, that laptop waits a minute; other laptops are still answered. A room check never changes or uses up the wall's code, even when MT Caster asks many walls.
MT Caster download address
Every 10 minutes the wall checks whether it can reach [caster] public-download-url, by default the newest MT Caster file, https://apps.multitaction.com/caster (it fetches only the first byte). Allow outbound HTTPS, TCP 443, from the wall computer to apps.multitaction.com for this check.
- Reachable: the card and the join page link only to that file. Visitors need internet access to download MT Caster.
- Not reachable (no internet, or the check is blocked): the card and the join page link only to the wall's own copy,
https://<wall>:8730/get. Everything then stays on the local network.
The wall always serves /get, whichever link the card shows.