Tv Server sends out the wrong IP (1 Viewer)

jimmy1987

New Member
February 2, 2009
2
0
MediaPortal Version: 1.1
MediaPortal Skin: N/A
Windows Version: 7 Ultimate 64-bit
CPU Type: Intel C2Q Q9400
HDD:
Memory: 4GB DDR2 1066
Motherboard: Asus P5Q Deluxe
Video Card: Ati HD4870 512MB
Video Card Driver:
Sound Card: X-fi Pro
Sound Card AC3:
Sound Card Driver:
1. TV Card: Hauppage 1800 Analog
1. TV Card Type: analog / dvb-T
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:

I've installed the 1.1 RC version of mediaportal and inside the Lan everything works fine, with mediaportal client and XMBC.
But now I want to use it outside of the lan. ( I'm at a camping which has very minimum channels and none in my own language. )

I openend up the correct ports in the router and firewall and I can see it connecting.
But the tv server sends out the wrong rtsp url, it sends out the 192.168.x ip which is from the lan as in the config it has the ip of my server listed as the master.

But because of that I get a timeout on the remote pc.
How can I tell the tv server to use the Wan address instead of the local one when I connect from outside the Lan ?
 

vecnar

Portal Pro
April 21, 2008
129
10
Home Country
Ireland Ireland
Hi Jimmy,

I don't know for sure but i doubt you will be able to do it and if you will than change of channels will take ages and video playback will not be smooth. Anyway below are my thoughts.

First of all is what is your internet connection upload speed (server side) and download speed of internet connection (client side)?Depending on type of stream you will be using, hd or sd, hd will require speeds of up to 40 Mbits/s and sd 2.5-5 Mbits/s.

There are few possible solutions:

1)In tv server configuration(click on "tv servers" on left top corner) you can select ip to be used for streaming so if you have static internet ip address than you could create loopback interface with your internet ip address and select this ip address to be used for streaming.
So now you will have a problem with local clients not being able to connect to server on 192.168.x.x ip, to resolve that you would need to add a static route on clients which will point loopback ip address to local ip of server on 192.168.x.x network.

2)Setup vpn access to your network on remote clients and they will be able to see 192.168.x.x network. But bare in mind that 192.168.1(2 or o).x is very common class c network address so ideally you would change your network ip address to something uncommon like 192.168.332.0 255.255.255.0 or if your router supports class a (10.0.0.0) and class b (172.16.0.0-172.31.0.0) networks than 172.30.234.0 255.255.255.0. This is to prevent remote client local network address being the same as server's network address and if this happen than remote client will think that servers ip resides on his local network.

Hope somebody with more experience will be able to propose a better solution.
 

Users who are viewing this thread

Top Bottom