IPTV IGMP multicast problems with BT YouView on pfSense
-
Looking for some ideas. Having read about Mech's success in getting this working I thought I'd try.
I have my BT Openreach HG612 VDSL modem connected to my pfSense box.
I started with a vanilla install of pfSense.
I started by configuring a PPPoE connection and the default/quick setup.
I now have a working LAN that I can access the internet from. All good.
I am using BT's DNS on pfSense as configured by their DHCP servers - again everything default.
So next I setup the secondary connection to the HG612 as described by Mech in an earlier post.
The configuration BT uses call for two logical connections on one physical interface:
1. PPPoE for Internet
2. Multicast
Then I set up IGMP proxy, again following the recipe described by Mech - with one small exception: the default LAN IP is 192.168.1.x which is what I am using, so I use 192.168.1.1/24 in the IGMP Downstream.
Now I add a rule to the firewall, again as Mech describes to pass UDP on port 5802.So this all ought to work… but I still get the dreaded IPC6023 error on the set-top box.
Looking at the firewall log, it was blocking some IGMP traffic from 0.0.0.0 to 224.0.0.1 so I added a rule to pass this on the IPTV interface. This removed the blocked packets from the log, but does not allow the Set Top box to work.
What have I missed? What else can I check or try?
Any ideas greatly appreciated.
Andrew
-
Hello,
I've followed the instructions above but I couldn't get it working.
I have a BT Youview ultraHD box and an PC Engines Apu2c4 device with pfSense 2.3.2-RELEASE (amd64) on it.
I have 3 network interfaces;
igb0 : WAN (pppoe)
igb1 : LAN
igb2 : IPTVHere's the configuration I've set :
https://gyazo.com/ab1d7e5472e2d93c5386625f640c8d96
https://gyazo.com/08c10df137b7ee5bb149450f2306f701
https://gyazo.com/466688bfc4ed35065513900974ac2195On my TV I'm getting "Can't Connect to the Internet" error message at the moment. YouView box is connected to igb2 interface.
Can you please help?
Thanks
OmurEdit: Do I need to do anything on youview box? I still don't understand how it would get internet from igb2 interface.
-
Hello,
I've followed the instructions above but I couldn't get it working.
Hey, before I take a look at your exact configuration, it's worth pointing out that in the latest versions of pfSense they've broken IGMP proxy when using vlans, take a look at this issue on the bug tracker: https://redmine.pfsense.org/issues/6099
So I'm still on version 2.2.6 until this regression is fixed.
Are you using vlans at all?
Cheers
-
Updates added to earlier post with extra step and warning around latest versions of pfSense.
-
Thought it might be useful to mention that this approach also works perfectly with YouView TV from Plusnet.
The only issue I had with the instructions was when setting up the IPTV interface and putting a value into the MAC address field caused my connection to stop working. I found that leaving the MAC address blank worked with no problems.
UPDATE:
The setup works with 2.2.6.
It does NOT work with 2.3.X.
It does work with 2.4.X although I found that approximately every 5 minutes the stream would drop and I would need to change channels and back again to restart the streaming channel. I found this was corrected by the firewall rule described below by ProxyMoron i.e. allow the IPv4 IGMP protocol from any source… -
Just an update for anyone else that finds this.
I found the above instructions would NOT work for my BT UltraHD youview box and that i also needed another pass rule on the IPTV Wan interface we create.
This should allow IPV4 IGMP, from a source of any, to destination of network 224.0.0.0/4 (with Advanced Options -> "Allow packets with IP options to pass. Otherwise they are blocked by default. This is usually only seen with multicast traffic" ticked) otherwise the picture would drop out after 4 minutes.
In addition i found i did NOT need to use BT's DNS servers - you mileage may vary.
Finally, If your STILL having problems try https://redmine.pfsense.org/issues/6099#note-112, but this should be fixed as of version 2.4 and I personally did not need it.
-
Hello,
I have had IPTV on BT working perfectly on version 2.2.6 of PFSense for a while now.
I have waited for v2.4RC and created a brand new install to test it out. It's configured exactly the same as the 2.2.6 install.
Nothing, I don't even think it can see the multicast traffic from the WAN.
Is there any thing I should do different in 2.4?
Any ideas?
-
Hello,
I have had IPTV on BT working perfectly on version 2.2.6 of PFSense for a while now.
[…]
Is there any thing I should do different in 2.4?
Not sure if you're using VLANs, but if thats the case, the IGMP Proxy is broken since 2.3.0 if you use it on VLAN interfaces….
-
I've got it working on SG-2220 hardware, on version 2.3 and 2.4rc , on both none vlan and vlan. Just making sure you pass IGMP with IP options enabled firewall rule for your interface . Following the instructions in this post.
-
Hi All,
I'm having a problem getting this to work using VLAN.
I'm using version: 2.3.4
Is the IGMP proxy broken when using it on a VLAN over a NIC?
-
It's works also with that version, and over vlan.
Make sure you're Firewall rule is passing IGMP on your Lan interface to the Youview, with IP Options enabled!!!!!!.
If your Network switch can toggle Multicast IGMP snooping on and off try both to see if that makes any difference.
Try Restarting the IGMP server after any changes, I've found this is needed in some scenarios.
Post your settings so I can check and advise????
-
Hi casualsix,
Thank you for your fast reply.
Please see attached screen shots of my settings. Hopefully these will make more sense than my typing.
I really appreciate any help as the other half isn't happy…
![Screenshot (15).png](/public/imported_attachments/1/Screenshot (15).png)
![Screenshot (15).png_thumb](/public/imported_attachments/1/Screenshot (15).png_thumb)
![Screenshot (16).png](/public/imported_attachments/1/Screenshot (16).png)
![Screenshot (16).png_thumb](/public/imported_attachments/1/Screenshot (16).png_thumb)
![Screenshot (17).png](/public/imported_attachments/1/Screenshot (17).png)
![Screenshot (17).png_thumb](/public/imported_attachments/1/Screenshot (17).png_thumb)
![Screenshot (19).png](/public/imported_attachments/1/Screenshot (19).png)
![Screenshot (19).png_thumb](/public/imported_attachments/1/Screenshot (19).png_thumb)
![Screenshot (20).png](/public/imported_attachments/1/Screenshot (20).png)
![Screenshot (20).png_thumb](/public/imported_attachments/1/Screenshot (20).png_thumb)
![Screenshot (22).png](/public/imported_attachments/1/Screenshot (22).png)
![Screenshot (22).png_thumb](/public/imported_attachments/1/Screenshot (22).png_thumb)
![Screenshot (23).png](/public/imported_attachments/1/Screenshot (23).png)
![Screenshot (23).png_thumb](/public/imported_attachments/1/Screenshot (23).png_thumb) -
Hi,
Not sure you need all the NAT-OUT rules for the BT Vision, mine doesn't need it.Firewall rules look O.K to me.
Can you screenshot the interface assignments please(hide the mac add's).
I take it your hardwired between your vlan interface and the BT Vision/Youview box, as I've found some wifi configs block multicasting?
Also have you used the test stream rtp://234.81.130.4:5802 with VLC player on your PC?
What does your System > General Logging say? IGMP system messages
![Screen Shot 2017-10-02 at 14.23.14.png](/public/imported_attachments/1/Screen Shot 2017-10-02 at 14.23.14.png)
![Screen Shot 2017-10-02 at 14.23.14.png_thumb](/public/imported_attachments/1/Screen Shot 2017-10-02 at 14.23.14.png_thumb) -
casualsix,
Thank you for taking the time to look through my config.
I've tried VLC streaming on the same network as the BT Vision box and via another LAN. Both just show no image and no seconds counting on the video time.
I created the NAT rules as before the BT Vision box couldn't connect to the internet at all.
The BT Vision box is hired wired straight into the TP-LINK TL-SG108 with IGMP snooping enabled.
I can only see one entry from this morning UK BST time in the system general log regarding IGMPproxy: Oct 2 10:45:49 igmpproxy 73792 select() failure; Errno(4): Interrupted system call
Please see attached interface assignments.
Thank you for taking the time to help.
-
Thats No problem, I've been through the same pain!!
What hardware have you got for your router?
Have you tried it in different hardware (sounds extreme, but thats what I have done and found incorrect settings in my managed switch.
I've seen that error message before on a NIC card which wasn't compatible. I also had it working on the SG-1000 netgate, then updated the firmware and it never worked again, so changed to the SG-2220 now after getting a refund for the SG-1000, and i've not had any further problems with 2.4, I've also ran it on an old Acer Revo 3610 with one NIC and the community edition of pfsense 2.3 and all vlans like yours and it ran a treat with that, no issues. So thats why I put it down to the NIC make causing that error.
Thanks, Jeremy
-
Thankfully the other half is very patient and puts up with my network issues :).
Sorry I probably should have mentioned the setup sooner.
Host running KVM (Ubuntu 16.04)
Onboard NIC runs the HOST / Mail server in KVM.
2 X TP-Link Gigabit PCI Express PCI-E for the PfSense VM.
TP-LINK TL-SG108E - Managed switch - The LAN interface from the PfSense box connects directly to this. Trunk port 8.
The WAN side is connected directly to the BT FTTC VDSL (HUAWEI) unit.That's the setup.
I've had a bit more of a play but no joy sadly. I found that if I removed the NAT-OUT rules the BT Vision box would complain that there was no Internet connection.
Not really sure what else to try.
-
Did you try rebooting the youview box after removing the nat out rules to get it to recognise the internet again? I had same problem and that cured it.
-
Hi casualsix,
Actually I don't think I did. (I did unplug the network cable).
This morning I removed the NAT-OUT rules and rebooted the YouView BT Vision box. I'm afraid that no Internet connection was detected until I setup the NAT-OUT rules (was worth a try though).
I had another play around this morning but sadly nothing has helped.
I've attached a picture of the error message and network settings from the YouView BT Vision box.
-
I take it you've got DHCP server and "DHCP" firewalls rules setup for the BTVision Vlan?
-
The error message is to do with the IGMP multicast not working, not due to the Youview Box not getting internet. I would recommend deleting your out nat rules to keep things simpler, unless there's another need for them.
You could try this…
Under System -> Advanced -> System Tunables, add a new entry with the Tunable as "net.link.ether.inet.allow_multicast" and the Value as "1".