Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question After adding iptables GEO IP restrictions, api.php stopped working

terminatortv

Basic Member
Basic Member
Joined
Jan 11, 2021
Messages
52
Reaction score
226
Points
44
Location
Croatia
Hi everyone,
I am seeking for help if somebody had issue like I have right now.
After adding rule in iptable to block all connections to port 25461 which are not from specific countries that I added, api.php stopped working.
I can't restart stream, edit stream, add new movie using main panel.
I can kill all connecions, reboot server and so on, but can't use functions that are inside api.php file in wwwdir

I tried allowing access to all ports tcp/udp INPUT and OUTPUT from main server to all loadbalancers, but that didnt fix the problem.

So if somebody have some tip that might help, please leave in comments.

Thanks

Update:
One thing I forgot to metion, is that ofcourse I added IP's of loadbalancers to whitelist. Streams are working, clients can watch channels and movies, but restarting/stoping/starting streams and movies is not working.
 
Last edited by a moderator:
Hi everyone,
I am seeking for help if somebody had issue like I have right now.
After adding rule in iptable to block all connections to port 25461 which are not from specific countries that I added, api.php stopped working.
I can't restart stream, edit stream, add new movie using main panel.
I can kill all connecions, reboot server and so on, but can't use functions that are inside api.php file in wwwdir

I tried allowing access to all ports tcp/udp INPUT and OUTPUT from main server to all loadbalancers, but that didnt fix the problem.

So if somebody have some tip that might help, please leave in comments.

Thanks

Update:
One thing I forgot to metion, is that ofcourse I added IP's of loadbalancers to whitelist. Streams are working, clients can watch channels and movies, but restarting/stoping/starting streams and movies is not working.
Hm, did you whitelist your main server ip? (127.0.0.1 and also main public ip not only the loopback ip)...
 
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 @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Hi everyone,
I am seeking for help if somebody had issue like I have right now.
After adding rule in iptable to block all connections to port 25461 which are not from specific countries that I added, api.php stopped working.
I can't restart stream, edit stream, add new movie using main panel.
I can kill all connecions, reboot server and so on, but can't use functions that are inside api.php file in wwwdir

I tried allowing access to all ports tcp/udp INPUT and OUTPUT from main server to all loadbalancers, but that didnt fix the problem.

So if somebody have some tip that might help, please leave in comments.

Thanks

Update:
One thing I forgot to metion, is that ofcourse I added IP's of loadbalancers to whitelist. Streams are working, clients can watch channels and movies, but restarting/stoping/starting streams and movies is not working.

Using just iptables will not help you much.

Place a reverse proxy and hide it behind cloudflare and you can manage whole rules form clouflare (countries,asn,user agent and etc) and laso have ddos protection
 
Using just iptables will not help you much.

Place a reverse proxy and hide it behind cloudflare and you can manage whole rules form clouflare (countries,asn,user agent and etc) and laso have ddos protection
DDOS protection is already fine, using OVH never had downtime. But for all this rules you mentioned about cloudflare I think they are available only for paid plans.

For now iptables are doing great job allowing TCP connections only from countries where we have clients.
 
DDOS protection is already fine, using OVH never had downtime. But for all this rules you mentioned about cloudflare I think they are available only for paid plans.

For now iptables are doing great job allowing TCP connections only from countries where we have clients.
No it is at free as well.

In cloudflare you just block one country with one click and ASN and etc.
Regarding OVH DDOS protection is a joke. With 2M hits per day portal will become unresponsive or ovh will null your ip.
With iptables traffic arrives at your server , with cloudflare traffic DONT arrive at your server. Thats the big difference.
I cant say anything more
 
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 @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
No it is at free as well.

In cloudflare you just block one country with one click and ASN and etc.
Regarding OVH DDOS protection is a joke. With 2M hits per day portal will become unresponsive or ovh will null your ip.
With iptables traffic arrives at your server , with cloudflare traffic DONT arrive at your server. Thats the big difference.
I cant say anything more
I have domain already on cloudflare but I already tried adding routes and it is saying that I need to upgrade plan.
 
I have domain already on cloudflare but I already tried adding routes and it is saying that I need to upgrade plan.
What route have to do with this ?
CLOUFLARE - MAIN PROXY -MAIN
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top