Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Tutorial Reverse Proxy on IPTV m3u file and Xtream Codes Server API

redhat

Administrator
Staff member
Administrator
Chief Moderator
Moderator
Joined
Jun 19, 2019
Messages
3,074
Reaction score
14,821
Points
134
Location
root[@]woi
Reverse Proxy on IPTV m3u file and Xtream Codes Server API


Description

M3u
Iptv Proxy is a project to convert an iptv m3u file into a web proxy server And give a new m3u file with the new routes to the proxy server

Xtream server api
proxy on xtream server api support live, vod, series and full epg ?

M3u Example
original iptv m3u file

PHP:
#EXTM3U
#EXTINF:-1 tvg-ID="examplechanel1.com" tvg-name="chanel1" tvg-logo="http://ch.xyz/logo1.png" group-title="USA HD",CHANEL1-HD
http://iptvexample.net:1234/12/test/1
#EXTINF:-1 tvg-ID="examplechanel2.com" tvg-name="chanel2" tvg-logo="http://ch.xyz/logo2.png" group-title="USA HD",CHANEL2-HD
http://iptvexample.net:1234/13/test/2
#EXTINF:-1 tvg-ID="examplechanel3.com" tvg-name="chanel3" tvg-logo="http://ch.xyz/logo3.png" group-title="USA HD",CHANEL3-HD
http://iptvexample.net:1234/14/test/3
#EXTINF:-1 tvg-ID="examplechanel4.com" tvg-name="chanel4" tvg-logo="http://ch.xyz/logo4.png" group-title="USA HD",CHANEL4-HD
http://iptvexample.net:1234/15/test/4


What m3u proxy IPTV do:
  • convert chanels url to new endpoints
  • convert original m3u file with new routes

start proxy server example:

Bash:
iptv-proxy --m3u-url http://example.com/get.php?username=user&password=pass&type=m3u_plus&output=m3u8 \
--port 8080 \
--hostname poxyexample.com \
##### UNSAFE AUTH TODO ADD REAL AUTH
--user test \
--password passwordtest


that's give you the m3u file on a specific endpoint:


Bash:
#EXTM3U
#EXTINF:-1 tvg-ID="examplechanel1.com" tvg-name="chanel1" tvg-logo="http://ch.xyz/logo1.png" group-title="USA HD",CHANEL1-HD
http://poxyserver.com:8080/12/test/1?username=test&password=passwordtest
#EXTINF:-1 tvg-ID="examplechanel2.com" tvg-name="chanel2" tvg-logo="http://ch.xyz/logo2.png" group-title="USA HD",CHANEL2-HD
http://poxyserver.com:8080/13/test/2?username=test&password=passwordtest
#EXTINF:-1 tvg-ID="examplechanel3.com" tvg-name="chanel3" tvg-logo="http://ch.xyz/logo3.png" group-title="USA HD",CHANEL3-HD
http://poxyserver.com:8080/14/test/3?username=test&password=passwordtest
#EXTINF:-1 tvg-ID="examplechanel4.com" tvg-name="chanel4" tvg-logo="http://ch.xyz/logo4.png" group-title="USA HD",CHANEL4-HD
http://poxyserver.com:8080/15/test/4?username=test&password=passwordtest


Xtream code server api Example

Bash:
% iptv-proxy --m3u-url http://example.com:1234/get.php?username=user&password=pass&type=m3u_plus&output=m3u8 \
--port 8080 \
--hostname poxyexample.com \
## put xtream flags if you want to add xtream proxy
--xtream-user xtream_user \
--xtream-password xtream_password \
--xtream-base-url http://example.com:1234 \
##### UNSAFE AUTH TODO ADD REAL AUTH
--user test \
--password passwordtest


What xtream proxy do:
  • convert xtream xtream-user and xtream-password into new user and password
  • convert xtream-base-url with hostname and port

original xtream credentials:
user: xtream_user
password: xtream_password
base-url: http://example.com:1234


new xtream credentials:

user: test
password: passwordtest
base-url: http://poxyexample.com:8080

All xtream live, streams, vod, series... are poxyfied!

You can get the m3u file with the xtream api request:



Installation

Without Docker

Download lasted release

Or

% go install in root repository



With Docker

Prerequisite
  • Add an m3u URL in docker-compose.yml or add local file in iptv folder
  • HOSTNAME and PORT to expose
  • Expose same container port as the PORT ENV variable

Bash:
 ports:
# have to be the same as ENV variable PORT
- 8080:8080
environment:
# if you are using m3u remote file
# M3U_URL: http://example.com:1234/get.php?username=user&password=pass&type=m3u_plus&output=m3u8
M3U_URL: /root/iptv/iptv.m3u
# Port to expose the IPTVs endpoints
PORT: 8080
# Hostname or IP to expose the IPTVs endpoints (for machine not for docker)
HOSTNAME: localhost
GIN_MODE: release
## Xtream-code proxy configuration
## (put these env variables if you want to add xtream proxy)
XTREAM_USER: xtream_user
XTREAM_PASSWORD: xtream_password
XTREAM_BASE_URL: "http://example.com:1234"
##### UNSAFE AUTH TODO ADD REAL AUTH
USER: test
PASSWORD: testpassword

Start

Bash:
% docker-compose up -d

Credits goes to: Pierre-Emmanuel Jacquier
Github: iptv-proxy
 
Last edited:
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
I

iptvgoods

Guest
nice!

is there any option for having https paylist and stream links without using docker?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

achraf2003

Basic Member
Basic Member
Banned
Joined
Nov 4, 2019
Messages
21
Reaction score
1,513
Points
89
Location
sefrou
Reverse Proxy on IPTV m3u file and Xtream Codes Server API


Description

M3u
Iptv Proxy is a project to convert an iptv m3u file into a web proxy server And give a new m3u file with the new routes to the proxy server

Xtream server api
proxy on xtream server api support live, vod, series and full epg ?

M3u Example
original iptv m3u file

PHP:
#EXTM3U
#EXTINF:-1 tvg-ID="examplechanel1.com" tvg-name="chanel1" tvg-logo="http://ch.xyz/logo1.png" group-title="USA HD",CHANEL1-HD
http://iptvexample.net:1234/12/test/1
#EXTINF:-1 tvg-ID="examplechanel2.com" tvg-name="chanel2" tvg-logo="http://ch.xyz/logo2.png" group-title="USA HD",CHANEL2-HD
http://iptvexample.net:1234/13/test/2
#EXTINF:-1 tvg-ID="examplechanel3.com" tvg-name="chanel3" tvg-logo="http://ch.xyz/logo3.png" group-title="USA HD",CHANEL3-HD
http://iptvexample.net:1234/14/test/3
#EXTINF:-1 tvg-ID="examplechanel4.com" tvg-name="chanel4" tvg-logo="http://ch.xyz/logo4.png" group-title="USA HD",CHANEL4-HD
http://iptvexample.net:1234/15/test/4


What m3u proxy IPTV do:
  • convert chanels url to new endpoints
  • convert original m3u file with new routes

start proxy server example:

Bash:
iptv-proxy --m3u-url http://example.com/get.php?username=user&password=pass&type=m3u_plus&output=m3u8 \
--port 8080 \
--hostname poxyexample.com \
##### UNSAFE AUTH TODO ADD REAL AUTH
--user test \
--password passwordtest


that's give you the m3u file on a specific endpoint:



Bash:
#EXTM3U
#EXTINF:-1 tvg-ID="examplechanel1.com" tvg-name="chanel1" tvg-logo="http://ch.xyz/logo1.png" group-title="USA HD",CHANEL1-HD
http://poxyserver.com:8080/12/test/1?username=test&password=passwordtest
#EXTINF:-1 tvg-ID="examplechanel2.com" tvg-name="chanel2" tvg-logo="http://ch.xyz/logo2.png" group-title="USA HD",CHANEL2-HD
http://poxyserver.com:8080/13/test/2?username=test&password=passwordtest
#EXTINF:-1 tvg-ID="examplechanel3.com" tvg-name="chanel3" tvg-logo="http://ch.xyz/logo3.png" group-title="USA HD",CHANEL3-HD
http://poxyserver.com:8080/14/test/3?username=test&password=passwordtest
#EXTINF:-1 tvg-ID="examplechanel4.com" tvg-name="chanel4" tvg-logo="http://ch.xyz/logo4.png" group-title="USA HD",CHANEL4-HD
http://poxyserver.com:8080/15/test/4?username=test&password=passwordtest


Xtream code server api Example

Bash:
% iptv-proxy --m3u-url http://example.com:1234/get.php?username=user&password=pass&type=m3u_plus&output=m3u8 \
--port 8080 \
--hostname poxyexample.com \
## put xtream flags if you want to add xtream proxy
--xtream-user xtream_user \
--xtream-password xtream_password \
--xtream-base-url http://example.com:1234 \
##### UNSAFE AUTH TODO ADD REAL AUTH
--user test \
--password passwordtest


What xtream proxy do:
  • convert xtream xtream-user and xtream-password into new user and password
  • convert xtream-base-url with hostname and port

original xtream credentials:



new xtream credentials:




All xtream live, streams, vod, series... are poxyfied!

You can get the m3u file with the xtream api request:




Installation

Without Docker

Download lasted release

Or

% go install in root repository



With Docker

Prerequisite
  • Add an m3u URL in docker-compose.yml or add local file in iptv folder
  • HOSTNAME and PORT to expose
  • Expose same container port as the PORT ENV variable

Bash:
 ports:
# have to be the same as ENV variable PORT
- 8080:8080
environment:
# if you are using m3u remote file
# M3U_URL: http://example.com:1234/get.php?username=user&password=pass&type=m3u_plus&output=m3u8
M3U_URL: /root/iptv/iptv.m3u
# Port to expose the IPTVs endpoints
PORT: 8080
# Hostname or IP to expose the IPTVs endpoints (for machine not for docker)
HOSTNAME: localhost
GIN_MODE: release
## Xtream-code proxy configuration
## (put these env variables if you want to add xtream proxy)
XTREAM_USER: xtream_user
XTREAM_PASSWORD: xtream_password
XTREAM_BASE_URL: "http://example.com:1234"
##### UNSAFE AUTH TODO ADD REAL AUTH
USER: test
PASSWORD: testpassword

Start

Bash:
% docker-compose up -d

Credits goes to: Pierre-Emmanuel Jacquier
Github:iptv-proxy
Can you Install In Ubuntu 18.04
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

lukinhanw

Banned
Banned
Ext. Member
Joined
Sep 19, 2019
Messages
85
Reaction score
515
Points
94
Location
nw97140891
how configure? how works? anyone got ?
give error 401 here, i create the script , user pass, but, 401
 

martin30x

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
33
Reaction score
162
Points
44
Location
birmingham
its good but some apps without m3u_plus extension will not work...

Better is to do"reversy proxy server" to hide main server



client === dmcaoffshore server == reverse proxy = main server.

This way you will keep "compatible structure with other apps" and hide main server.


Easy as that. Anyway this tuto is great and plugin too. Bit complicated to setup but works fine. However some apps dont like it and new variables must be added.


Think easie is to make "reversy proxy server"
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

adamo331

Extended Member
Ext. Member
Joined
Jun 18, 2020
Messages
24
Reaction score
3
Points
14
Location
London
its good but some apps without m3u_plus extension will not work...

Better is to do"reversy proxy server" to hide main server



client === dmcaoffshore server == reverse proxy = main server.

This way you will keep "compatible structure with other apps" and hide main server.


Easy as that. Anyway this tuto is great and plugin too. Bit complicated to setup but works fine. However some apps dont like it and new variables must be added.


Think easie is to make "reversy proxy server"
any one can share a full tuto to set up that reverse because my main server is blocked.
Thank you
 

Duda2021

Basic Member
Basic Member
Joined
Oct 14, 2021
Messages
6
Reaction score
8
Points
14
Location
lisboa
good night can anyone buy server proxy to put xtriam ui from now
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock