TV7 (init7.net) with latest igmp proxy

Started by Morta, June 26, 2022, 04:12:29 PM

Previous topic - Next topic
Hi!

Somebody could help to fix my issue with TV7 and igmp proxy?


Name Type Values Description
WAN upstream 77.109.129.0/25, 77.109.129.16/32, 77.109.129.17/32, 77.109.129.18/32, 77.109.129.19/32 WAN_UP
LAN downstream 192.168.1.0/24 LAN_DOWN



The stream stops all 30 sec for a while equal MiBox or a Philips Andorid TV over LAN.

My igmp proxy setup is for out traffic a pass rule:


IPv4 IGMP WAN address * 224.0.0.0/4 * * *
     

Sometimes is working but most time doesn't. Have someone a working setup with OPNsene and a Android TV/BOX ? 

June 26, 2022, 05:36:06 PM #1 Last Edit: June 26, 2022, 05:39:05 PM by i81b4u
Hi Morta,

The documentation I found is not for OPNsense, but should help you getting things to work.
https://www.init7.net/de/support/routerinfos/edge-router_igmp-proxy.pdf

Hope this helps?

Best regards.

Thanks for you input.

In this forum have it tutorial for OPNsense and TV7 so is more a question,
If it's still work or it's a issue of all OPNsense version?
I can't find the error. I did exactly the tutorial.

June 26, 2022, 06:24:59 PM #3 Last Edit: June 26, 2022, 06:39:44 PM by i81b4u
Hi Morta,

Don't know what you tried to say, so let me tell you how I set up my IPTV with OPNsense.
I have a different provider but hey, why not give it a try  ;).

1. Firewall rules WAN:
Allow Protocol IPv4 IGMP in to destination 224.0.0.0/4
Allow Protocol IPv4 IGMP out from destination 224.0.0.0/4
Allow Protocol IPv4 UDP in to destination 224.0.0.0/4

2. Firewall rules LAN:
Allow Protocol IPv4 IGMP in from LAN to *
Allow Protocol IPv4 * in from LAN to *

3. IGMP Proxy rule upstream:
Interface WAN
Network 0.0.0.0/0

4. IGMP Proxy rule downstream:
Interface LAN
Network 192.168.1.0/24

That did it for me.

Best regards.

Sorry my english is not the best

I did this tutorial

https://forum.opnsense.org/index.php?topic=17865.0

Are you see any different to your tutorial?

So the outage could be also from the ISP.
They have a lot of problem with the multicast stream.

I get a stream but the stream is stocking and pixelated.

So what could be the reason?

Wrong tutorial?
ISP Problem?
Realtek card?

Do you understand now what I try to say?

I search other user with TV7 and his experience!

June 26, 2022, 08:33:05 PM #5 Last Edit: June 26, 2022, 08:42:01 PM by abaumann
-

Hi Morta,

Read the tutorial.

1. As far as IGMP Proxy is concerned, you have two options. Either use 77.109.129.0/25 or the four (4) hosts mentioned ( 77.109.129.16/32, 77.109.129.17/32, 77.109.129.18/32, 77.109.129.19/32 ). In short ... either use the range that also contains the four hosts or use the exact four hosts. You configured both.

2. Does your internal network use 192.168.1.0/24? If not ... alter the LAN_DOWN range to match your internal network range.

3. Did you configure the needed firewall rules? If not, please do.

Good luck!  :)

June 27, 2022, 04:51:05 PM #7 Last Edit: June 27, 2022, 05:02:48 PM by Morta
Quote from: i81b4u on June 26, 2022, 10:25:47 PM
Hi Morta,

Read the tutorial.

1. As far as IGMP Proxy is concerned, you have two options. Either use 77.109.129.0/25 or the four (4) hosts mentioned ( 77.109.129.16/32, 77.109.129.17/32, 77.109.129.18/32, 77.109.129.19/32 ). In short ... either use the range that also contains the four hosts or use the exact four hosts. You configured both.

2. Does your internal network use 192.168.1.0/24? If not ... alter the LAN_DOWN range to match your internal network range.

3. Did you configure the needed firewall rules? If not, please do.

Good luck!  :)

1. Ok I will delete the range. Thx

2. Yes my network use 192.168.1.0/24

3. I have following Firewall rules as floating for WAN


IPv4 IGMP WAN address * 224.0.0.0/4 * * * OUT
IPv4 IGMP WAN address * 224.0.0.0/4 * * * IN
IPv4 UDP WAN address * 224.0.0.0/4 * * * IN


Rules for WAN Firewall


IPv4 IGMP WAN net * 224.0.0.0/4 * * * Allow IGMP Multicast Traffic
IPv4 PIM WAN net * 224.0.0.0/4 * * * Allow PIM Traffic
IPv4 UDP 77.109.129.16 * 239.0.0.0/8 5000 * * Allow init7 Multicast Traffic
IPv4 UDP 77.109.129.17 * 239.0.0.0/8 5000 * * Allow init7 Multicast Traffic
IPv4 UDP 77.109.129.18 * 239.0.0.0/8 5000 * * Allow init7 Multicast Traffic
IPv4 UDP 77.109.129.19 * 239.0.0.0/8 5000 * * Allow init7 Multicast Traffic



And for LAN


Automatically generated rules
IPv4 * LAN net * * * * * Default allow LAN to any rule
IPv4 IGMP LAN net * * * * * Default allow LAN to any rule
IPv6 * LAN net * * * * * Default allow LAN IPv6 to any rule
IPv4+6 * * * * * * * Default outbound rule



Have I to add more or do you see any errors?

PS: Multicast NOR Unicast stream are working out of box. So can't be my settings?!

Hi Morta,

For reference, my Firewall rules are as follows (and keep in mind I have a different IPTV provider):

No floating, but on interface WAN I got the following rules for IPTV

IPv4 IGMP * * 224.0.0.0/4 * * * OUT
IPv4 IGMP * * 224.0.0.0/4 * * * IN
IPv4 UDP * * 224.0.0.0/4 * * * IN


On LAN I have the following rules for IPTV (which is a separate VLAN for IPTV only)

IPv4 IGMP LAN_net * * * * * IN
IPv4 * LAN_net * * * * * IN



When comparing your config to the settings mentioned in https://forum.opnsense.org/index.php?topic=17865.0, the only thing that I can not check is if you selected the allow options checkbox where needed. Apart from that everything looks just fine. The extra rules I saw on the WAN interface should not be a problem?

Perhaps another OPNsense user using the same IPTV provider can help you? At the moment I do not have a clue how I could help you any further.

But ... as always ... happy hunting and I hope you can fix it rather sooner than later  :)

Best regards.