Files
piik/docs/guide/network.md
AAA 71a42051c4 merge(review): integrate voice ownership and scoped Server forwarding
Take the reviewed voice owner and interface lanes, preserving room-local media lifetimes. Server forwarding is offered per kind by its operator, remains off by default, and fills participant routing gaps without sacrificing reachable receivers. Validate the registered service identity even in public rooms and advance private Domain protocol to 48 for the typed offer.

Correct quick-sharing reuse, pending picker ownership and local bootstrap retirement. Keep record-extension and recovery proposals separate from production mechanisms. Full Rust, Native, Browser-WASM and protocol checks plus 2350 Web tests pass; follow-up focused controls pass 672 tests. Actual Domain-48 loopback controls verify master-off, voice-only hosted and files-only Browser-hosted traffic with unchanged room authority.
2026-11-25 02:21:48 -05:00

8.5 KiB

Advanced network checks

These instructions cover the 3.0 internal test. For the public release, see the published guide.

English · 简体中文 · Troubleshooting

If the site opens but picture, voice or file downloads will not connect, choose the symptom below. If you cannot open the site or enter a room, see Troubleshooting.

The site connection carries text, history, message reactions and attachment descriptions to the room host. Pictures, voice and file content use separate peer connections. If chat also fails, first check the site connection and room hosting.

Participants exchange text, history and attachment descriptions through the site with the room host; pictures, voice and file content use peer connections.

Campus networks and strict NAT

If only one viewer is affected, have that viewer switch to a phone hotspot and reopen the same invitation. Keep the sharer on their current network for this comparison. If media or file transfer works there but not on the original network, compare that network's UDP, VPN and firewall rules. A working web page does not establish that peer traffic is allowed.

  • Try a browser profile with default WebRTC settings, as described below.
  • If your group can use a shared virtual network, follow the virtual LAN steps.
  • On a managed network, ask the network administrator about blocked UDP, or use another network.
  • If you joined a Piik Server site, ask the site operator whether it offers forwarding for the affected picture, voice or file. When offered, Piik can use it as a fallback. In Room settings → Connection, check that Use site forwarding is on if you manage the room.

Piik selects routes automatically. The App's automatic Public invite uses Cloudflare Tunnel for the invitation page and signaling. Picture, voice and file content still need a working WebRTC route. Cloudflare Tunnel routing

Browser WebRTC restrictions

Browser settings, VPNs and privacy extensions can block peer traffic even while the site connection and chat work.

  1. Open the same invitation in a browser profile with default settings and no relevant privacy extensions.
  2. If it works, check WebRTC or IP-leak protection in the original browser. Allow the UDP traffic needed for peer connections.
  3. Retry watching, voice or the file download. Ask an administrator about centrally managed settings.
Chrome / Vivaldi settings

disable_non_proxied_udp restricts UDP that does not use a proxy. Chrome extensions can control this policy without a visible browser switch. Vivaldi offers Settings → Privacy and Security → WebRTC IP Handling → Broadcast IP for Best WebRTC Performance.

Direct connections reveal network addresses to peers. Change the setting blocking your connection, keeping other privacy settings as needed. See Chrome's policy reference and Vivaldi's privacy settings.

STUN, IPv6 and router checks

These checks are for people reading App logs or managing the site or router. Only change equipment and settings you manage.

STUN discovery

STUN discovers addresses that peer connections can try. In Local network mode, App supplies only its STUN address on the selected network. Public invite and standalone Server supply public STUN addresses by default. Changing STUN only changes address discovery. If the site operator already has a TURN service, they can check compatible builds and configuration in the App and Server ICE configuration reference.

Choose trusted services: they receive participants' public IP addresses. The WebRTC connection guide explains discovery.

IPv6 and router mappings

When the provider, router and both devices have usable IPv6, Piik can try it alongside IPv4. Keep IPv4 enabled too; IPv6 remains subject to firewall rules. Consult your router's IPv6 guidance.

Supported UPnP, PCP or NAT-PMP can let the Native App request mappings for its peer socket; the browser does not request those mappings. A mapping does not make an unreachable invitation page accessible. If both modem and router perform NAT, your model's bridge/AP instructions may remove a layer. Back up settings first. Carrier-grade NAT is upstream; ask the provider about public IPv4 or IPv6.

See manufacturer guidance on UPnP and double NAT.

Optional: a virtual LAN

If friends on different networks cannot exchange pictures, voice or files, a shared virtual LAN is one option. It must carry web traffic and WebRTC UDP, with virtual addresses that all participants can reach. A game-only accelerator is insufficient. Choose a tool everyone in your group can use:

  • Tailscale: install it on each device and invite friends to the same private network (tailnet). Use the App owner's Tailscale IPv4 address (100.x.y.z).
  • ZeroTier: join the same network ID, then authorize the devices in its management console. Use the App owner's assigned virtual IPv4 address.
  • UU (Chinese guide): use the general-purpose LAN option and join the same room. Use the App owner's UU virtual IPv4 address.

Join the same virtual network, select its address in the App's Local network mode, then send the site address or room link and confirm the local certificate.

  1. Everyone runs the networking tool on their device and joins the same virtual network.
  2. On the device running Piik App, the person hosting the local site checks the virtual IPv4 address assigned to that device by the networking tool. In the Piik App launcher, choose Local network, select that same address and click Open Piik. If App is running in another mode, finish its current activities. Clear Open my site when App starts if enabled, then quit normally and reopen App.
  3. The host creates or opens the room, copies the room invitation generated by Piik and sends it to friends. Friends confirm the local certificate with the host before joining.
  4. Try sending a chat message, then try watching, voice or a file download. Everyone keeps the networking tool running. The host also keeps Piik App running.

If the virtual address changes, select the new address and send a fresh link. Do not send localhost, which points to each recipient's own device.

  • Page will not open: check whether the tool carries web traffic to the Piik App device, then review local access and firewall rules.
  • Chat/history will not load: check room hosting.
  • Chat works, but picture, voice or files do not: check whether the tool carries WebRTC UDP between the devices, then review WebRTC restrictions.
  • Microphone or remote-control permission is unavailable: use the HTTPS invitation and review browser permissions.

Join only with trusted friends. If the issue persists, collect reports from the same attempt.

To give an App or Server a fixed public invitation address, use a managed or self-hosted tunnel. frp and SakuraFrp guide