Skip to content

feature request: Conditional Proxy Based on Client IP #752

@lostgit

Description

@lostgit

Checklist

  • I checked that this feature has not been requested before
  • I checked that this feature is not in the "Not planned" list
  • This feature will benefit the majority of users

Problem Description / Use Case

With this feature, proxy streaming is selectively enabled for clients whose IP address is not in the whitelist.

This feature balances streaming efficiency and safety: direct route when clients come from a safe IP address, and automatically proxied when not.

Use Case 1: when users are "home" (or masked through a dedicated VPN/tailscale/etc), no proxy is needed. AIOStreams provides a direct URL to the streams.

Use Case 2: when users are "away" or their IP is not on the whitelist, AIOStreams provides the proxy URL.

Proposed Solution

Provide configuration environment variables for self-hosters.

For example, PROXY_WHITELISTED_CLIENT_IP.

If doable, can be done in the Proxy Controls UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions