The pfSense Store

Author Topic: TV-server streaming over VPN  (Read 2488 times)

0 Members and 1 Guest are viewing this topic.

Offline Koenig

  • Newbie
  • *
  • Posts: 14
    • View Profile
TV-server streaming over VPN
« on: July 17, 2012, 02:42:28 pm »
I have a MediaPortal TV-server at home and I would like to be able to connect via VPN and use the server.

I have set up a OpenVPN-server in pfsense and I have gotten SMB working, but it seems I'm not able to connect to the TV-server over the VPN.

Anyone who might know what I need to do to get this to work?

Offline Nachtfalke

  • Hero Member
  • *****
  • Posts: 2752
    • View Profile
Re: TV-server streaming over VPN
« Reply #1 on: July 17, 2012, 03:14:10 pm »
What do you mean with "TV-Server" ? Ist this a (windows) computer ? Check the firewall for SMB access from other subnets.
Can you connect to the server with RDP and/or ping the server ?

Did you try to stream the video with VLC ? VLC can compress the data if your VPN is not so fast. Streaming could be done with a streming protocol.

Offline Koenig

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: TV-server streaming over VPN
« Reply #2 on: July 17, 2012, 11:34:14 pm »
What do you mean with "TV-Server" ? Ist this a (windows) computer ? Check the firewall for SMB access from other subnets.
Can you connect to the server with RDP and/or ping the server ?

Did you try to stream the video with VLC ? VLC can compress the data if your VPN is not so fast. Streaming could be done with a streming protocol.

With TV-server I mean this: http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/141_Configuration/TV-Server_Configuration

A server with a couple of TV-receivers in it, that streams live-TV over the network.
I have no problem connecting with SMB, RDP or pinging the server, just that the streaming doesn't work, It works locally but not with any of the VPN-clients.


Offline Nachtfalke

  • Hero Member
  • *****
  • Posts: 2752
    • View Profile
Re: TV-server streaming over VPN
« Reply #3 on: July 18, 2012, 01:22:17 am »
The streams are probably multicast - check the IGMP Proxy on pfsense to stream multicast over different networks.

Offline Koenig

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: TV-server streaming over VPN
« Reply #4 on: July 18, 2012, 05:59:35 am »
The streams are probably multicast - check the IGMP Proxy on pfsense to stream multicast over different networks.

Yes this seems to be the thing.

However I not a very advanced networker.....  (first time with pfsense....)

So I'm now kindly asking if anyone could help me out setting this up...?

The TV-server is on the subnet 192.168.8.0 and the connecting clients is on 192.168.6.0
In my pfsense computer there is only two interfaces, LAN and WAN.

Offline Nachtfalke

  • Hero Member
  • *****
  • Posts: 2752
    • View Profile
Re: TV-server streaming over VPN
« Reply #5 on: July 18, 2012, 06:10:22 am »
I didn't use IGMP so far so I am no expert.

Check this:
http://doc.pfsense.org/index.php/IGMP_Proxy

Probably you need to assign your OpenVPN as an Interface to be able to select it in the IGMP Proxy.
The Upstream interface is the Interface on which your TV-Server is, als Network you select the IP on which the TV-Server is streaming. This is probably a multicast IP.

As download server you chose the OpenVPN Network.

Perhaps someone else can help more. Or the forum search :)

Offline Koenig

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: TV-server streaming over VPN
« Reply #6 on: July 18, 2012, 12:20:36 pm »
Started messing around a little with this, but ended up with a nonworking VPN-server, could connect but no access at all to my LAN....

Offline Nachtfalke

  • Hero Member
  • *****
  • Posts: 2752
    • View Profile
Re: TV-server streaming over VPN
« Reply #7 on: July 18, 2012, 01:58:26 pm »
When you assign OpenVPN as an interface there will be an additional tab on firewall rules where you need to allow traffic.
Not sure if you then need to add static routes for this OpenVPN interface - what in general is done by the OpenVPN server.

Offline Koenig

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: TV-server streaming over VPN
« Reply #8 on: July 18, 2012, 02:35:37 pm »
When you assign OpenVPN as an interface there will be an additional tab on firewall rules where you need to allow traffic.
Not sure if you then need to add static routes for this OpenVPN interface - what in general is done by the OpenVPN server.

EDIT: I tried adding a rule to the new tab that looked exactly like the one on the OpenVPN-tab, but as soon as I assign an interface to the OpenVPN (I don't even know what this actually does...)
I cannot get any access to my LAN.

This is way above my level of knowledge about computer networking, I've been looking at the rules and I frankly just don't understand how it works.
Plus I couldn't find something in the menus about "routes"....

I was thinking it worked just like an extension of your LAN, I was so wrong.

I've been searching the forums for someone with a similar problem where I could find some help, but I couldn'r really find something....

EDIT2: Found where you could add routes but it only looks like they apply to the WAN...
« Last Edit: July 18, 2012, 03:21:55 pm by Koenig »

Offline Koenig

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: TV-server streaming over VPN
« Reply #9 on: July 18, 2012, 03:54:41 pm »
I actually got it working, but not as well as I want it I think...

I skipped that part about assigning the VPN-server to a interface, and just configured the IGMP like this:

LAN    upstream    192.168.8.0/24, 192.168.6.0/24    
WAN    downstream    192.168.8.0/24, 192.168.6.0/24    

But somehow I feel this might not be the most efficient way to do it...

Plus the video got very choppy (need some tuning here of some kind.....) and that should be an issue of speed or processing power (at the moment I have two 100/100 connections at home and my pfsense-computer is an E6600 @ 2.4GHz)

Anyone who might know where to go from here??

Thank you for all the quick help and support one get here BTW!!

Offline WildeRex

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: TV-server streaming over VPN
« Reply #10 on: July 19, 2012, 06:48:16 am »
Started messing around a little with this, but ended up with a nonworking VPN-server, could connect but no access at all to my LAN....
Here is VPN review site. It helped me a lot with my problems :
http://topvpnreviews.net/
 :D

Offline Koenig

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: TV-server streaming over VPN
« Reply #11 on: July 19, 2012, 07:53:29 am »
Started messing around a little with this, but ended up with a nonworking VPN-server, could connect but no access at all to my LAN....
Here is VPN review site. It helped me a lot with my problems :
http://topvpnreviews.net/
 :D


Yeah, thank you, but it seems a bit away from my troubles though....