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 NGINX + NAXSI Reverse proxy for XTreamUI

TCM

Basic Member
Basic Member
Banned
Joined
Sep 16, 2019
Messages
75
Reaction score
751
Points
94
Location
Ankara
Tested on UBUNTU 18.04 LTS Server fresh install
OVH VPS

UPDATE 20.10.2019 new whitelist.rule
rm /etc/nginx/whitelist.rules && wget --no-check-certificate https://dev.d-dtox.com/nginx/conf/whitelist.rules -O /etc/nginx/whitelist.rules && service nginx restart

Fix mag palyback blocked from naxsi


FIX compile error whit --with-http_geoip_module

Install :
wget https://dev.d-dtox.com/nginx/script/install.sh && chmod +x install.sh && ./install.sh​
After install change into nginx.conf on main server :​
nano /home/xtreamcodes/iptv_xtream_codes/nginx/conf/nginx.conf​
after "client_max_body_size 3m;" add :​

real_ip_header X-Forwarded-For;
set_real_ip_from ADD-PROXY-IP-ADDRESS-HERE;
real_ip_recursive on;
save and reload nginx​
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s reload​
HOW TO MAKE WHITELIST RULES for ADMIN panel​
on proxy sevrer go to /etc/nginx/nginx.conf​
enable learning mode from
#LearningMode;
to
LearningMode;​
restart nginx​
service nginx restart​
Navigate on ADMIN panel to populate data​
Install​
cd /home/nginx-waf​
cd nxutil​
python setup.py install​
after install analize the error.log of nginx whit this command :​
python nx_util.py -l /var/log/nginx/error.log -o -p 1​
this is make whitelist rules add this on /etc/nginx/whitelist.rules:​

BasicRule wl:16 "mz:$URL:/api.php|BODY";
# total_count:9 (100.0%), peer_count:1 (100.0%) | open square backet ([), possible js
BasicRule wl:1310 "mz:$URL:/table_search.php|$ARGS_VAR:columns[0][data]|NAME";
# total_count:7689 (50.42%), peer_count:1 (100.0%) | close square bracket (]), possible js
BasicRule wl:1311 "mz:$URL:/table_search.php|ARGS|NAME";
# total_count:7560 (49.58%), peer_count:1 (100.0%) | open square backet ([), possible js
BasicRule wl:1310 "mz:$URL:/table_search.php|ARGS|NAME";

Disable the lerning mode then restart nginx.​
GEO IP ALLOW/BLOCK country​
if you need to allow all country comment whit # on /etc/nginx/nginx.conf:​
...
#geo $localnet {
#default 0;
#10.0.0.0/8 1;
#192.168.0.0/16 1;
#}
...
#include geoblock;
...​
save and restart nginx​
service nginx restart​
if need to allow specified country only uncomment on /etc/nginx/nginx.conf​
...
geo $localnet {
default 0;
10.0.0.0/8 1;
192.168.0.0/16 1;
}
...
include geoblock;
...​
then edit /etc/nginx/geoblock and set allow country es. (EN|IT|UK) :​
...
if ($geoip_country_code !~ (EN|IT|UK)) {
...​
save and restart nginx​
service nginx restart​
if need to block USA country but need to enable only specified ip edit /etc/nginx/nginx.conf:​
...
geo $localnet {
default 0;
10.0.0.0/8 1;
192.168.0.0/16 1;
222.222.222.222 1; # Add ip or network to allow
}
...​
save and restart nginx​
service nginx restart​
 
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
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

yop038

Extended Member
Ext. Member
Joined
Apr 21, 2020
Messages
10
Reaction score
11
Points
14
Location
here
nice one but i think admin panel need to be more restricted like htacces / ip restriction or vpn access only
nginx waf is a good idea to protect user data type input :)
 
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