Features
LAN games
Games and other software that only look for others on the local network find your Underpass machines too, wherever they are.
Some software only finds others on the same local network. A game shows a list of "LAN" or "local" servers; it doesn't ask for an address. Across Underpass that list stays empty, because your machines are in different homes.
LAN games fixes that. When a machine asks its local network "who is out there?", Underpass sends the same question to your other machines too, and their answers come back through your network. The game's own list fills in by itself.
It's off by default, and it needs client 0.8.11 or later on the machine that searches or announces.
Turn it on
An owner or admin opens Settings → LAN games and turns on LAN games.
Every machine is included at first. To choose, switch machines off under Which machines. Once you leave one out, new machines aren't added by themselves.
Nothing has to be done on the machines. To check one, run underpass status on it: a LAN games line shows how many machines it sends to and how many messages it has carried.
Example: a Minecraft world
- The host opens a world and chooses Open to LAN.
- Friends in the same workspace open Multiplayer. The world appears in their list within a few seconds, the same as it would at home.
- They join it. Nobody types an address or a port.
Without LAN games, friends can still join by address: see reach a machine by name.
What is carried, and what isn't
| Carried | Not carried |
|---|---|
| A message a program sends to everyone on its local network (a broadcast), such as a game looking for servers | The machine's other traffic |
| A Minecraft world's announcement | The system's own chatter: printers, file sharing, casting, device discovery |
| Up to 30 messages a second, to up to 32 machines | Messages over 1,200 bytes, and IPv6 |
Only messages the machine itself sends are carried. Other devices on its home network aren't seen or passed on.
Which machines can do what
| Machine | Can be found | Can search or announce |
|---|---|---|
| Windows, macOS, Linux on 0.8.11 or later | Yes | Yes |
| Windows, macOS, Linux on an older version | Yes | No |
| Android, iPhone, iPad | Yes | No |
A machine only has to be in the workspace to be found. Searching and announcing need the newer version, because the machine that sends the message does the work.
Access rules still apply
LAN games carries the "who is out there?" message. The answer, and the game itself, are ordinary traffic between two machines, so your access rules decide whether they get through.
A workspace with no rules allows everything, and needs nothing more. If you've written rules, allow the game's ports between the machines that play. For Minecraft that's UDP 4445 to the friends' machines and the world's port to the host.
On Windows, the game must also be allowed through Windows Firewall on the Underpass network. Windows asks the first time the game opens to the network; choose to allow it.
Speed
LAN games changes how machines find each other, not how fast they talk. Play goes over the same connection as everything else between two machines: direct when their routers allow it, through the relay when they don't. Run underpass status and look at the PATH column for the other machine.