The server room is quiet except for the faint hum of the rack, but your FFmpeg jobs are stalled—network rules allow outbound-only connectivity, and the streams won’t move. You need FFmpeg outbound-only connectivity configured right, without opening inbound ports or punching holes through the firewall.
FFmpeg supports outbound-only workflows, but it requires understanding which protocols can operate over a one-way connection. Most live streaming stacks assume bidirectional handshakes. To run outbound-only, you must choose transport and container formats that do not require inbound control connections.
For RTMP, outbound-only works if your FFmpeg process acts solely as a publisher, pushing to a remote RTMP server. Set the -f flv format and the target URL like rtmp://remote-server/live/stream_key. Ensure the firewall allows egress on the RTMP TCP port, often 1935. No inbound port mapping is required.
For HLS, outbound-only is even simpler. FFmpeg can generate .m3u8 playlists and .ts segments locally or on cloud storage. To deliver them, sync the output directory using an outbound protocol like S3, GCS, or HTTPS PUT. Avoid local HTTP serving, which needs inbound access.