Network Issues
Diagnose and fix network connectivity problems between your phone and your system.
Run Diagnostics First
Always start with focused doctor profiles:
broski doctor --profile network
broski doctor --profile pairing
broski doctor --fixThis checks local IP, configured port conflicts, Tailscale status, token/TLS pairing readiness, and suggests fixes.
Local Connection (Same WiFi)
Most common issues:
- Different networks: Ensure phone and system are on the same WiFi network
- 5GHz vs 2.4GHz: Some routers isolate these bands - try connecting both devices to the same band
- Firewall blocking: macOS firewall may block incoming connections
- Client isolation: Some routers isolate wireless clients from each other
# Network diagnostics
broski doctor --profile network
# Pairing readiness (token + TLS)
broski doctor --profile pairing
# Live logs while reproducing issue
broski logs --followCorporate Network / Firewall
Symptoms
- • Can't connect even though both devices are on the same WiFi
- • Connection works at home but not at office
- • QR code scans but connection times out
Solutions
Tailscale creates an encrypted tunnel that bypasses corporate restrictions:
# Guided install/configure
broski setup-tailscale
# Then verify network path
broski doctor --profile networkInstall Tailscale on your phone and log in with the same account.
Ask IT to allow traffic on port 18274 between wireless clients, or to whitelist the bridge application.
Create a mobile hotspot from your phone and connect your system to it. This bypasses corporate network entirely.
VPN Conflicts
Symptoms
- • Connection worked before enabling VPN
- • QR code shows different IP than expected
- • High latency when VPN is active
Solutions
| Scenario | Solution |
|---|---|
| Corporate VPN active | Disconnect VPN or use Tailscale |
| Split tunnel available | Exclude local IPs from VPN |
| Tailscale + other VPN | Tailscale usually works alongside other VPNs |
| VPN changes routing | Use Tailscale IP instead of local IP |
Check VPN Status
# Check active network interfaces
# macOS:
ifconfig | grep -A 2 "utun" # VPN tunnels are usually utun*
# Windows:
# ipconfig
# Linux:
# ip addr show
# Check routing table for VPN routes
# macOS:
netstat -nr | grep -i utun
# Windows:
# route print
# Linux:
# ip route show
# See all network interfaces
# macOS:
networksetup -listallnetworkservices
# Windows:
# netsh interface show interface
# Linux:
# nmcli device statusTailscale Issues
# Check Tailscale status
tailscale status
# Check your Tailscale IP
tailscale ip
# Verify connection to tailnet
tailscale ping <other-device-tailscale-ip>
# Check if Tailscale is logged in
tailscale status --json | jq '.Self.Online'For Tailscale to work, both your system and phone must:
- Have Tailscale installed
- Be logged into the same Tailscale account (same tailnet)
- Be connected (not disconnected/paused)
# Check connection type
tailscale status
# Look for "relay" in output - this means no direct connection
# Direct connections are faster and more reliableIf showing "relay", check firewall settings on both devices to allow direct connections.
Port Forwarding
If you must use port forwarding (e.g., for testing), here's how:
# macOS:
ifconfig | grep "inet " | grep -v 127.0.0.1
# Windows:
# ipconfig
# Linux:
# ip addr show | grep "inet " | grep -v 127.0.0.1Usually at 192.168.1.1 or 192.168.0.1
Often under Advanced, NAT, or Gaming settings
External port: 18274, Internal port: 18274, Internal IP: your system's IP, Protocol: TCP
curl ifconfig.meUse the public IP in your connection URL instead of the local IP
broski --funnelTesting Connectivity
# 1) Baseline diagnostics
broski doctor --profile network
# 2) Pairing path diagnostics
broski doctor --profile pairing
# 3) Apply safe fixes
broski doctor --fix --profile network
# 4) Follow logs while reproducing issue
broski logs --follow
# 5) Export diagnostics for support/AI
broski logs --exportConnection Drops
Common causes:
| Cause | Solution |
|---|---|
| WiFi switching | Lock your phone to a specific WiFi network |
| Sleep mode | Prevent your system from sleeping while using Broski |
| App backgrounded | Keep Broski in foreground on iOS |
| Network instability | Move closer to router or use wired connection |
| High latency | Switch from Funnel to Tailscale direct |
The app automatically attempts to reconnect with exponential backoff (2s, 4s, 8s, 16s, max 30s). If you see "Reconnecting...", wait for it to complete. You can also manually tap to reconnect or re-scan the QR code.
Latency Expectations
| Connection Type | Expected Latency | Best For |
|---|---|---|
| Local WiFi | 1-30ms | Home/office use, best experience |
| Tailscale (nearby) | 30-50ms | Same city/region |
| Tailscale (distant) | 50-150ms | Cross-country |
| Tailscale Funnel | 100-300ms | Public access, no VPN needed |
RTT (Round-Trip Time) is shown in the app's connection indicator. If latency is consistently high, try switching connection types.