Security

[!CAUTION] No Encryption By Default The VideoToolbox Remote protocol runs over plain TCP. Traffic is NOT encrypted. Do NOT expose the daemon port (default 5555) directly to the public internet.

Token Authentication

The server supports a simple token-based authentication mechanism.

[!WARNING] This token prevents unauthorized access but does not protect against eavesdropping or man-in-the-middle attacks.

If you must run this over an untrusted network (e.g., across the internet), use a secure tunnel.

  1. Bind to localhost: Start the server bound only to loopback.
    vtremoted --listen 127.0.0.1:5555
    
  2. Create Tunnel: From the client, create an encrypted tunnel.
    ssh -L 5555:localhost:5555 user@mac-server
    
  3. Connect: Point FFmpeg to localhost.
    ffmpeg ... -vt_remote_host 127.0.0.1:5555 ...
    

Option 2: VPN / Tailscale

Run both client and server on a private Tailscale network (or WireGuard/OpenVPN). Use the VPN IP addresses for connection. This provides encryption transparently.