D
D
Dmitry2014-05-04 12:48:27
VPN
Dmitry, 2014-05-04 12:48:27

How to forward IPTV over the Internet?

Hello dear!
Help solve the problem :)
In the village A there is a connection to Rostelecom with the Internet and IPTV service. There is a Mikrotik RouterBoard, in the port of which the TV is turned on, an IGMP proxy is configured, everything works, everything works beautifully.
In city B, at my house, there is no television, but there is the same mikrotik, followed by an HTPC with Ubuntu and XBMC. And there is also a desire to watch TV and I don’t have a more reliable free source of IPTV. While you are not completely confused yet, here is a simple scheme:
eed89ddb9a284130b2beeace73f688e8.png
That is, the task is to watch that IPTV from village A at home in city B.
If I VPN from laptop B to Mikrotik A, then I can freely watch, for example, in VLC links of the form
udp://@233.99.x.x:5000
Therefore, the question - how to correctly deliver the IPTV stream home on XBMC?
Main difficulties along the way:

  • Mikrotik A has a dynamic IP, a dynamic DNS is attached. And it often reconnects, the address changes.
  • When connecting via VPN to Mikrotik A, a new interface is created, which must be manually added to the IGMP proxy settings, otherwise it will not work. So, when the VPN falls off (and it will fall off often) and then reconnects, the procedure must be repeated, deleting the old interface, which is now unnamed, and adding a new one.

Basically, there are three options:
  1. VPN from Ubuntu B to Mikrotik A , with routing setup on Ubuntu. And something needs to be invented with the disappearing interface when VPN dumps.
  2. VPN from Mikrotik B to Mikrotik A. Routing to B and the same problems with dumps. And do I need to configure an IGMP proxy on B?
  3. On the contrary, VPN from Mikrotik A to Mikrotik B , with routing on both. And the same question about IGMP proxy...

In general, due to my ignorance of the principles of operation of the protocols involved in the process and the lack of practice in this path, it is very difficult to navigate the approach to solving the problem.
Which of the options will work, which one would you choose? Or is the fourth one correct in general, which will be even simpler?
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

5 answer(s)
J
J_o_k_e_R, 2014-05-05
@J_o_k_e_R

I use two computers at the ends of the tunnel with Linux and openvpn in tap mode and udp protocol. In the grid where IPTV is broadcasting - the server, in the grid where I would like it to broadcast - the client. On the client, the multicast further distributes igmpproxy to the LAN.
openvpn does not recreate the interface on reconnect.

N
nimbo, 2014-05-04
@nimbo

I'm sorry, but - does your RT distribute the Internet and TV through VLANs or does everything go through one vlan? ..

V
Valentine, 2014-05-05
@vvpoloskin

All proposed options are approximately the same. Of course, it is better to enable IGMP-proxy on a piece of hardware close to the content consumer, if possible.
But running multicast through tunnels is not a good idea. I would rather do this: turn multicast traffic into HTTP using udpxy and watch the video in http mode. This is even more true if you watch IPTV from a laptop via Wi-Fi. You can use the SLA to handle downtunnel events.
Unfortunately I don't know how to enable udpxy specifically on MikroTik.

A
Alexander Karabanov, 2014-05-05
@karabanov

I call to the question @J_o_k_e_R who did this.

D
DA-SIB, 2014-05-09
@DA-SIB

combine vpn and LAN into a bridge at the TV broadcasting point and where you want to watch, and you will be happy! There will be one big network...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question