IPtables allow IGMP packets for IPTV

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?
 

eibgrad

Part of the Furniture
It should appear as protocol 2 using the following command.

Code:
iptables -vnL INPUT
 

ColinTaylor

Part of the Furniture
igmp is protocol 2. If you run the command again without the -n it'll be more obvious.

Code:
iptables -L INPUT
 

daveycan

New Around Here
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
 

Latest threads

Sign Up For SNBForums Daily Digest

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