Skip to main content
On this page

Addresses and ports

On the box​

Inside a box: nginx holds ports 80 and 443 and routes by path to the admin pages, the control API, LosOS Cloud, LosOS Git and this handbook.

PathWhatWho may open it
/The admin pagesthe local network only
/handbook/This handbookthe local network only
/api/…The box's control API (JSON, needs the admin key)the local network only
/api/health{"ok":true} when the control daemon is upthe local network only, no key
/setup/state.jsonName, address, HTTPS, certificate fingerprintthe local network only
/setup/losos-ca.crtThe box's certificatethe local network only
/setup/trust.ts, /setup/trust.ps1The one-line certificate installersthe local network only
/cloud/LosOS Cloudanyone, and through an edge
/remote.php/, /status.php, /ocs/, /index.php/What the Nextcloud apps, calendar apps and file managers callanyone, and through an edge
/nextcloud/The same, at the address a box's Nextcloud usedanyone, and through an edge
/git/LosOS Gitanyone, and through an edge
What the local network means

"The local network only" means a source address in a private range (10.…, 172.16.… to 172.31.…, 192.168.…) that is not the box's own address and not the mesh's pod range. Anything else, including traffic arriving through an edge's tunnel, gets 403.

Ports​

PortProtocolWhat
80HTTPEverything above
443HTTPSThe same, with the box's own certificate (losos.tls.enable, on by default)
443 (UDP)HTTP/3The same over QUIC, offered to browsers by an Alt-Svc header; HTTPS on TCP stays the fallback
5353mDNSAnnouncing <name>.local, and the box as a _losos._tcp service
445SMBEach person's LosOS Cloud files as a Windows network share (losos.cloud.windows.enable, on by default); the local network only
3702 (UDP), 5357WS-DiscoveryListing the box under Network in Windows' File Explorer, while the share is on
5355LLMNRAnswering Windows when it asks for the box by its bare name, while the share is on
8082HTTPThe control API, on the box's loopback only; nginx proxies /api/ to it
8480, 8443HTTP, HTTPSWhat Tor and I2P deliver for the box's own addresses (losos.hidden.tor.enable, losos.hidden.i2p.enable), on the box's loopback only. See Tor and I2P
8790HTTPThe local copy of the binary caches, on loopback; on the local network only with losos.cache.local.shareOnLan

While the share is on, the mDNS entry for LosOS Cloud is the SMB share (_smb._tcp), so Finder and Linux file managers list the box once.

Nothing else is open. The box reaches the mesh and the edge outwards. It opens the tunnel and joins the cluster itself, so you open no inbound port at home.

On an edge​

PortProtocolWhat
80, 443HTTP(S)Traefik: every box's public name
2333 (UDP)QUICThe tunnel boxes dial (losos.edge.tunnelBindPort)
2333 (TCP)TLSThe same tunnel, for boxes on a network that drops UDP
7883 (UDP)QUICThe calls relay (losos.edge.calls.relay.port)

Names​

NameWhat
<name>.localThe box, on its own network, over mDNS
<name>.<edge domain>The box through its edge, for LosOS Cloud and LosOS Git
register.dasmat.usThe LosOS edge's control plane (the default edge address)
losos-edge.dasmat.usThe "find my box" page
proxy.losos.dasmat.usThe binary cache the box updates from
127.0.0.1:8787Local GHCR-backed Nix cache, on the box and installer
127.0.0.1:8790The box's local copy of all of these, kept on its disk
losos.dasmat.usThis handbook on the web