Mask Stream Source Requests Using Proxies

Some sources apply geo-restrictions, rate-limit your server, or block its IP. Stream proxies let your servers pull a channel's source through an HTTP proxy, so the source sees the proxy's IP instead of your server's. This is useful when:

  • The source server applies geo-restrictions.
  • Your server's IP has been rate-limited or blacklisted.
  • You want to spread outbound traffic across several external IPs.

What Are Stream Proxies?

A stream proxy sits between your server and the stream source. When a channel uses one, your server pulls the stream through the proxy instead of connecting from its own IP.

Stream proxies do not hide your servers from your clients. They only change the IP your servers use to fetch channel sources. To hide your servers from clients, see Reverse Proxy.

Add a Proxy

  1. Open Channels > Sources > Manage Streams Proxies.
  2. Click Add HTTP Proxy.
  3. Enter the IP and the HTTP Port of the proxy, for example 203.0.113.40 and 3128.
  4. If the proxy needs a login, turn on Credentials Needed and fill in Username and Password.
  5. Click Save.

Important:

  • Only HTTP proxies are supported. HTTPS and SOCKS proxies do not work.
  • Your main server checks every proxy about every 30 seconds. A new proxy shows CHECKING until the first check, then WORKING or OFFLINE.

Use a Proxy in a Channel

  1. Open Channels > Overview and edit the channel.
  2. Open the ADVANCED tab.
  3. In Stream Proxy, choose one of your proxies.
  4. Click SAVE.

The channel pulls its source through that proxy the next time it starts.

You can also set the proxy for many channels at once in Mass Edit, for imported channels in Import Channels, and for every channel of a provider mirror in Stream Providers & Mirrors.

Rotating Proxies (engine 2.4.0)

Choose Rotating (all proxies) in Stream Proxy to have the channel use every proxy in your list, trying a different one on each start. The page shows how many Rotating channels you have.

This option needs engine 2.4.0 or newer on every server of the channel. If one of them is older, the option is not available for that channel.

See Which Proxy Is in Use

In Channels > Overview, a running channel that uses a proxy shows a via badge with the proxy's IP.

If no source answers through the proxies, the channel can fall back to a direct connection and shows a Direct (fallback) badge. In that case the provider sees your server's IP. Check that your proxies are WORKING.

Proxy Traffic (engine 2.4.0)

The proxy list shows the traffic of each proxy in the Now and This month columns, adding up every server that uses it. Click the traffic button of a proxy to see a chart for the Last 7 days or Last 30 days, and the current traffic by server. Received traffic is usually what proxy providers bill.

Deleting a Proxy

You cannot delete a proxy while a provider mirror uses it, or your last proxy while a mirror is set to rotate. Change the proxy of those mirrors first.

Best Practices

  • Use proxies with high bandwidth and low latency to avoid buffering or quality loss.
  • Add proxies from different regions to get around geo-blocks on specific sources.
  • Check the Status column of Manage Streams Proxies regularly.