What's new

IPtables allow IGMP packets for IPTV

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

daveycan

New Around Here
Hi! I have an AX86U router and I'm trying to set it up so that it allows IGMP packets on the network. At least, i think that is issue. I have added a rule to the "firewall-start" file in the jffs/scripts directory. here is a copy of what is in there right now:

Code:
#!/bin/sh

/jffs/scripts/YazFi runnow & # YazFi Guest Networks
sh /jffs/scripts/firewall start skynetloc=/tmp/mnt/wrtdrive/skynet # Skynet

iptables -I INPUT -p igmp -j ACCEPT #IPTV accept igmp packets

I'm assuming the mcpd service is routing all the packets correctly within the network.

I don't see the new rule on the IPtables readout on this command.

iptables -L -nv

Any ideas what is going wrong?
 
It should appear as protocol 2 using the following command.

Code:
iptables -vnL INPUT
 
igmp is protocol 2. If you run the command again without the -n it'll be more obvious.

Code:
iptables -L INPUT
 
Ah! found it running the iptables -L INPUT command

Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     igmp --  anywhere             anywhere
INPUT_PING  icmp --  anywhere             anywhere             icmp echo-request
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
logdrop    all  --  anywhere             anywhere             state INVALID
PTCSRVWAN  all  --  anywhere             anywhere
PTCSRVLAN  all  --  anywhere             anywhere
logdrop    tcp  --  anywhere             anywhere             tcp dpt:5152
ACCEPT     all  --  anywhere             anywhere             state NEW
ACCEPT     all  --  anywhere             anywhere             state NEW
OVPN       all  --  anywhere             anywhere             state NEW
ACCEPT     igmp --  anywhere             base-address.mcast.net/4
ACCEPT     udp  --  anywhere             base-address.mcast.net/4  udp dpt:!upnp
ACCEPT     udp  --  anywhere             anywhere             udp spt:bootps dpt:bootpc
INPUT_ICMP  icmp --  anywhere             anywhere
logdrop    all  --  anywhere             anywhere

There seems to be a duplicate entry there though, so maybe I can remove it from the script folder?

It still didn't work though. what is happening is that it does load channels, but they drop after about 10-15 seconds.

I'm trying to follow this guide: https://community.ui.com/questions/...ik-TV-IP/42f380eb-4c23-427e-980a-f4755fd2b44d
 
I've got the same problem. Did you find a workaround @daveycan? My IPTV drops after exactly 270 seconds. My profile is Movistar IPTV Triple VLAN, it drops the image only when YazFi Guest wifi is on.
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top