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 How to stream using XUI for local clients and WAN public clients on the net ?

vijesh

Basic Member
Basic Member
Joined
Jan 24, 2022
Messages
26
Reaction score
6
Points
14
Location
india
I tried using Router with WAN side serving internet customer and LAN the local LAN Clients. But can login but can’t both clients to work ( blank pic see with a revolving circle )
How can I do this ?
I tried changing all combination in the server setting but not working both simultaneously
 
We don't understand what you tried to do?
I have installed XUI on a physical Xeon server for testing which is streaming to the OLT along with internet and cable services . All use the OFC cable on a WDM multiplying technology on a single fibre.
now my issue : we have cable and internet customers who are serviced by the OLT FTTH network. These are the "LAN" clients. Also we have clients having mobile devices who want to use the Internet and want to watch same IPTV services .
In my testing the "Local"LAN clients work nicely and could login and watch services. And next to get access online I used a router using a static IP I connected to the Internet . But from the internet side login happens OK but no stream plays . Same issue happens if I setup the domain for internet the "Local" clients can login but can't watch services.
So here Ithe issue is how to get XUIoNE to service two different IP streams one on LAN and WAN that is service Internet and Local clients from same server. I don't want streaming from Internet ONLY for LAN customers as it would add to the bandwidth consumption.
 
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
I have installed XUI on a physical Xeon server for testing which is streaming to the OLT along with internet and cable services . All use the OFC cable on a WDM multiplying technology on a single fibre.
now my issue : we have cable and internet customers who are serviced by the OLT FTTH network. These are the "LAN" clients. Also we have clients having mobile devices who want to use the Internet and want to watch same IPTV services .
In my testing the "Local"LAN clients work nicely and could login and watch services. And next to get access online I used a router using a static IP I connected to the Internet . But from the internet side login happens OK but no stream plays . Same issue happens if I setup the domain for internet the "Local" clients can login but can't watch services.
So here Ithe issue is how to get XUIoNE to service two different IP streams one on LAN and WAN that is service Internet and Local clients from same server. I don't want streaming from Internet ONLY for LAN customers as it would add to the bandwidth consumption.

This is manageable; you just need to modify a few files in the XUI Core,

If you fix it manually to the local source will play.
 
Could you please explain which files needed to be tweaked ? Gladly would appreciate it .
Update:
Yes I understand something amiss but can’t point it myself
 
Last edited by a moderator:
Hi!

First of all, LAN IP and WAN IP will be different. LAN IP will be 192.168.... and the WAN IP will be your public IP Address. The next thing is wather your ISP let's you open specific ports that you want to use. There are workarounds with proxies and webservers to run it even on different ports but you will need some network knowledge to expose services without a specific port.

Another thing to worry about is the protection, how are you going to hide your public IP while streaming.

To sum up, I wouldn't recommend having a local server unless you have a closed environment such as a hotel, hostel, ... etc.
 
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
Could you please explain which files needed to be tweaked ? Gladly would appreciate it .
Update:
Yes I understand something amiss but can’t point it myself

I need to check, I think you just need the local IP to play the stream locally.

Another option that you could try is create a Sub domain with the local IP that your server is using then add the Sub Domain in the panel and see what happen.
 
Hi!

First of all, LAN IP and WAN IP will be different. LAN IP will be 192.168.... and the WAN IP will be your public IP Address. The next thing is wather your ISP let's you open specific ports that you want to use. There are workarounds with proxies and webservers to run it even on different ports but you will need some network knowledge to expose services without a specific port.

Another thing to worry about is the protection, how are you going to hide your public IP while streaming.

To sum up, I wouldn't recommend having a local server unless you have a closed environment such as a hotel, hostel, ... etc.
Thank you . Actually it is a local network and clients use it to access other services like cable TV and internet on a single fibre . So I don't want to waste bandwidth for the local fibre connected clients. It is a closed environment
 
Thank you . Actually it is a local network and clients use it to access other services like cable TV and internet on a single fibre . So I don't want to waste bandwidth for the local fibre connected clients. It is a closed environment

I recommend you to use lucidchart and create the infrastructure you want to do with the panel for better understanding and help you.
 
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
Thank you . Actually it is a local network and clients use it to access other services like cable TV and internet on a single fibre . So I don't want to waste bandwidth for the local fibre connected clients. It is a closed environment
I don't understand what you're trying to do then! First you mentioned that you want to stream over LAN and WAN, now you say that you don't want to use LAN. You need to include what you want and what you don't want 🙂
 
I don't understand what you're trying to do then! First you mentioned that you want to stream over LAN and WAN, now you say that you don't want to use LAN. You need to include what you want and what you don't want 🙂
Yes . Through wan the Bandwidth is billed . Through LAN it is free . So when you got WAN and LAN Clients I want to simultaneously stream in both .
 
Yes . Through wan the Bandwidth is billed . Through LAN it is free . So when you got WAN and LAN Clients I want to simultaneously stream in both .
I think you will have no issue accessing the service over LAN. Just fint the private IP address and check if it works on LAN. It should work just fine.
 
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
Thank you . Actually it is a local network and clients use it to access other services like cable TV and internet on a single fibre . So I don't want to waste bandwidth for the local fibre connected clients. It is a closed environment
You need a DNS server on your local network or you need to modify the hosts file for each individual device on your network. Same domain configuration will be fine or you can use a different one. You will need an entry for every server you use. So if you have 2 LB's, and main:

mylocalserver.fun 172.16.0.1
lb1.mylocalserver.fun 172.16.0.2
lb2.mylocalserver.fun 172.16.0.3

Configure panel as normal. Use domains.
 
Last edited:
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top