Issues with igmpproxy, IPTV from ISP

Hello i have a problem with igmpproxy, i cant see my multicast stream on vlc.
Here is my conf

config igmpproxy
        option quickleave 1
        option verbose 2

config phyint
        option network wan
        option zone wan
        option direction upstream
        list altnet

config phyint
        option network lan
        option zone lan
        option direction downstream


config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr ''
        option netmask ''

config globals 'globals'
        option ula_prefix 'fd8e:acf0:1b57::/48'

config interface 'wan'
        option device 'eth1'
        option proto 'dhcp'

config interface 'wan6'
        option device 'eth1'
        option proto 'dhcpv6'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth0.1'
        option igmp_snooping '1'
        option acceptlocal '1'
        option multicast_router '2'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option netmask ''
        option ip6assign '60'
        option ipaddr ''
        option gateway ''
        list dns ''
        list dns ''

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '1 2 0t'

config device
        option name 'eth0'

config device
        option name 'eth0.1'
        option type '8021q'
        option ifname 'eth0'
        option vid '1'
        option multicast_router '2'

config device
        option name 'eth1'

/etc/config/firewall :

config rule                                 
        option name             Allow-IGMP  
        option src              wan         
        option proto            igmp        
        option family           ipv4        
        option target           ACCEPT      
config rule                                 
        option target 'ACCEPT'              
        option src 'wan'                    
        option dest 'lan'                   
        option family 'ipv4'              
        option proto 'udp'                
        option dest_ip ''      
        option name 'Allow-UDP_Multicast_In'

Thanks for your help

  • Where (what network) is VLC?
  • How did you setup a PIM server router for VLC to multicast?

(Need to answer this before an igmp proxy settong would be relevant.)

  • Otherwise if you control the network, just multicast your stream on the same LAN.
  • Maybe you need another technology that puts the packes on a second VLAN?
  • If the server is on LAN (which some odd LAN settings imply)...I'm lost :confused:

Thanks for you're reply

this is the architecture of my project:

I don't control the router I can only control the openwrt.
When I connect directly the router to my laptop, the multicast is working.

Regarding pim, I didnt setup it, because when I see in the forum of open wrt and the documentation regarding igmpproxy, they never talk about stupid a pim router.
When I execute igmpproxy on debug mode, I have this message
RECV V2 member report from to Mebership report was received on the upstream interface. Ignoring.

  • Your digram has VLC in LAN, so you don't have anythg to proxy
  • VLC doesnt do IGMP, a PIM router does

...but you dont need a router nor your server is on the same network.

Use multicast alone.

How can I do that please?

  • Do what, exactly?
  • I assume you already have a multicast stream running?

This is a sample command to listen to a stereo multicast stream:

vlc --demux=rawaud --rawaud-channels=2 --rawaud-samplerate=24000 udp://

This really isn't OpenWrt-related.

When I connect my laptop directly to the router, multicast is running, but when I have the setup with an openwrt and the wan that not work, so I think that I have to route multicast on openwrt, but I don't know how to do that



Of course it won't work, your picture shows VLC on LAN.

(I'm almost thinking you want to multicast to WAN, but we already covered that...especially if WAN is the real Internet...your ISP would set that up...for a real multicast...with a PIM router.)


I think you're either confused on IGMP vs multicast, or think you can multicast into your ISP's network?

  • Also, multicast usually has a TTL of 1, so that will have to be altered...

I'm really unsure of what you're tying to do, as you said multicast is working, and there is no IGMP.

Just to be clear, I have a router who spread internet to my openwrt, which acts as an access point to my laptop, all is on ethernet.

Now I have an iptv provided by my main router. So me I wanna watch this iptv when my laptop is plugged in my openwrt and not in my router.

Im so sorry, but Im new in all this domain... im trying to create a web application on the openwrt but im in obligation to do that before.

1 Like

You could convert the openwrt device to dumb AP, you're still firewall:ed by the ISPs device (unless it's bridged).
Is there another reason for the use of double NAT?

1 Like

for my application I need to use the ethernet port :confused:

And you can't do it in a dumb ap setup, because?

To be honest I didnt know what is it.

I have to create an application who can bias the network who is tended to all the machine connected to my openwrt, and I need to host this application, that's work with a dumb ap setup?

OK, you want a stream from your ISP... need to convert the OpenWrt into a dumb AP, then there is no routing. Your ISP's device should do everything you need for IPTV - as usual.

@frollic provided you good info!

I can't use it because I have to plug my router on the lan and not the wan but in my openwrt I have 2 port of wan (already used) and 1 one for the router ... :confused:

Covert the WAN port into a LAN port, or buy a switch.

there are no other solution?

Well, you can probably get igmpproxy to work.

Why two WAN ports?
And you don't need any, if you set it up as dumb AP.
Or you're not telling us everything.

1 Port for the laptop and another one for a smart tv, laptop so I can access with ssh to my openwrt and the smart tv for my application

then I have one wan port left on my openwrt when I plug the router