Posted: Wed Jan 31, 2018 15:33 Post subject: IPTV-AP
I dont know if this is possible, I searched the forum and read the wiki but was not able to solve this..
I apologize if this been answered millions of times already..
Asus RT-AC68U DD-WRT v3.0-r34760
Netgear R600v2 DD-WRT v3.0-r34578
Im using the asus as main router (operating mode Gateway) and the Netgear as accesspoint (operating mode router)
My ISP distributes IPTV with VLAN tagg 845, from the asus to the netgear I have one cable and in the netgear I have the tvbox, reciver,
apple-tv connected with cable.
What Im trying to figure out is how to achive both internet and iptv to be distrubted from the asus to netgear in one cable, and
in the netgear configure so all units works.
Not to forget the wifi, block multicast on both the asus and netgear.
I tried running the cmd on the netgear.
insmod ebtables
insmod ebtable_filter
insmod ebt_pkttype
ebtables -A FORWARD -o "interface to block" --pkttype-type multicast -j DROP
ebtables -A OUTPUT -o "interface to block" --pkttype-type multicast -j DROP
Not sure what interface to put, checking status -> wireless the interface for wireless is wl0 / wl1, have tried this and also eth1.
Running the cmd from Administration -> commands just gives me "processing, please wait" nothings happends, so I tried with telnet
and when checking with "ps" I see that the syntax is running.
Under administration -> commands I tried to add
insmod ebtables
insmod ebtable_filter
insmod ebt_pkttype
insmod ebt_ip
ebtables -A FORWARD -o eth1 -p ipv4 --pkttype-type multicast --ip-source ! 192.168.1.0/255.255.255.0 -j DROP
ebtables -A FORWARD -o eth2 -p ipv4 --pkttype-type multicast --ip-source ! 192.168.1.0/255.255.255.0 -j DROP
And save it to the Firewall and reboot, when rebooted I checked with ps via telnet and whats showing is:
ebtables -A FORWARD -o eth1 -p ipv4 --pkttype-type multicast --ip-source ! 192.168.1.0/255.255.255.0 -j DROP
ebtables -A FORWARD -o eth1 -p ipv4 --pkttype-type multicast --ip-source ! 192.168.1.0/255.255.255.0 -j DROP
eth1 shows up twice, and the wifi is not working.
Also tried "ebtables -L" but nothing happends, and I have to abort the command.
I flashed my routers with the builds from Kong so now:
RT-AC68U running v3.0-r33675M
R6300v2 running v3.0-r33675M
When I changed the firmware I was able to get ebtables working on the R6300v2, so when Im using my ISP gateway connected to the R6300 iptv works and wifi.
But I want to change the ISP gateway to the RT-AC68U, and Im trying to figure out how to tag one port with the VID for iptv (845) and also be able to use internet at the same port.
I tried using igmprt but get "There must be at least 2 Vif's where one is upstream".
The conf file looks like this.
quickleave
phyint vlan2 upstream ratelimit 0 threshold 1
phyint br0 disabled
phyint eth0 disabled
phyint eth1 disabled
phyint eth2 disabled
phyint vlan1 disabled
phyint vlan3 downstream ratelimit 0 threshold 1
phyint lo disabled
On br0 I set Igmp snooping "ON".
Also tried to figure out how to create a separate vlan for the iptv.
For ex on the tab "VLAN" i changed port 4 to VLAN3,
It gives me on the tab "Network" a port that I can set as unbridged, but what to do from there? I tried running igmprt after the vlan3 was created.
In the stock firmare for ex you can set VID to 845, but that leaves me with that port only sendning iptv.
This is the output on the RT-AC68U that Im planing on using as a gateway.
"grep vlan.*ports*"
size: 32713 bytes (32823 left)
vlan2ports= 0 5u
vlan3ports=4t 5
vlan1ports=1 2 3 4t 5*
On the R6300v2 that Im using as a accesspoint I havent done any vlan settings just yet, but assuming I have to do the same there or is it only on the gateway and on the accesspoint I need to get the igmprt working?