Letting Latchway work on your network.

Someone on your network tried to send or receive files with Latchway, and it couldn't connect directly. This page lists what Latchway needs, so you can decide whether to allow it.

How Latchway connects

Latchway sends files straight from one device to another, encrypted end to end. A small service at latchway.app introduces the two devices; then they connect to each other directly, with the same technology browsers use for video calls (WebRTC). The files never pass through our servers or anyone else's.

What to allow

  • latchway.app over HTTPS (TCP 443): the website and the introduction service, which uses a WebSocket.
  • stun.cloudflare.com and turn.cloudflare.com on UDP 3478, and stun.cloudflare.com on UDP 443: STUN only, so each device can learn its network's public address. No files or other data go there.
  • Outgoing UDP to any address and port, with replies allowed back: the direct connection between the two devices, encrypted with DTLS. A normal stateful firewall already allows the replies; nothing needs to be opened for incoming connections.

The other device can be anywhere, so the direct connection can't be limited to a list of addresses.

What makes it more reliable

  • IPv6. If your network has it, leave it on for devices. Direct connections between two IPv6 devices almost always work.
  • Address translation that keeps one public port per connection, whatever the destination (endpoint-independent mapping, RFC 4787), and one public address per device. Translation that gives every new destination a random port makes direct connections with similar networks unlikely.
  • Letting devices ask the router for a temporary port (PCP or NAT-PMP, UDP 5351 to the router), if your policy allows it. The Latchway apps ask only their own router, only for a transfer, and remove the port afterwards.

Check a network

Open latchway.app/check on a device on your network. It shows whether the network lets direct connections through and how it hands out ports.

What Latchway doesn't do

  • It doesn't upload files to any server or store them anywhere.
  • It doesn't need any incoming ports opened on your firewall.
  • It only connects two devices that both opened the same link, and only while the sender keeps Latchway open. It can't be used to reach other devices on your network.

What our service can and can't see is in the privacy policy, and how the encryption works is in Security.

Questions

Write to support@latchway.app with the subject Network.