Project

General

Profile

Actions

Feature #6187

open

Using Proxy for specific Mux

Added by J-C Lavoie almost 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Muxers
Target version:
-
Start date:
2022-07-13
Due date:
% Done:

0%

Estimated time:

Description

Hello!!!

I'm using Tvheadend in a docker.
All is working really good.
But I have a IPTV that use IP location restrictions and I'm not in this location.

I would like to use my proxy OR ExpressVPN (in a docker too) to reach the IPTV inside the MUX.
But I don't want that my whole TVheadend app be under the VPN because I already have IPTVs set for my current geographical location.

I tried a lot of things found on Internet and nothing seem to work too.

  • I tried
    pipe:///usr/bin/wget --bind-address=VPN_IP URL_IPTV
    and that didn't work
    It's seem that my VPN docker is not reachable. I tested right on my computer and the "--bind-address" not seems to work anyway
  • I tried to use:
    pipe:///usr/bin/wget -O - URL_IPTV
    but that didn't work too
    I see in the log something like:
    spawn: HTTP request sent, awaiting response... 200 OK
    spawn: Length: 2604 (2.5K) [application/vnd.apple.mpegurl]
    spawn: Saving to: 'STDOUT'
    spawn:      0K ..                                                    100%  468M=0s
    spawn: 2022-07-14 01:45:41 (468 MB/s) - written to stdout [2604/2604]
    iptv: stdin pipe 60 unexpectedly closed: No data
    mpegts: test in Streaming Live - scan no data, failed
    subscription: 0017: "scan" unsubscribing

    Wget seems to receive data but I got no stream, no result.
    And, I'm not sure that wget uses the proxy even if I set "http_proxy=my_proxy_setting" in the "environment (pipe)" field
Info about my system:
  • Tvheadend version 4.3-2027~ge3f4f222e running in docker.
  • ExpressVPN running in a docker
  • Squid proxy server running in the same "service" than my expressVPN
    The proxy server is working really good I tested it on different browser and CLI and that work good.

I'm sure that a solution exist but now I'm lost.
If someone can help me that would be really appreciate!!!

Thank you in advance!

Actions

Also available in: Atom PDF