Centova server behind NAT

Read 16992 times
Hi,

I have configured Centova server. I can open VLC and play the strem by http://server:port

My problem is:
This machine has only one private IP and no public IP. All the ports on one public IP has been forwarded to this machine from a firewall.

On Centova Server I have added one CentovaCast Streaming Radio Site. On its setting there is IP Address and Port. What should I keep there ?

I tried with public IP. It works but if you click the server again it crashes saying it can't open the port. Which of course it can't as the public IP is in different machine.

I tried with private IP. All the clients get this IP in their playlist, which is not reachable from internet.

I tried with local host. Similar to private IP, the media players are trying to open http://127.0.0.1:800

Thank you for reading and hoping for a help.
The playlist I download from the server looks like this

[playlist]
numberofentries=1
File1=http://127.0.0.1:800
Title1=Stream Name
Length1=-1
version=2

All I want is my playlist to look like
[playlist]
numberofentries=1
File1=http://my_public_ip:800  
Centova Cast isn't designed for use behind NAT routers.  That said, you should be able to work around this by setting up your streams to use your LAN IP and then using the SELFREF_OVERRIDE setting to set all links (in playlists/tune-in links/etc) to point to your WAN IP address.