Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 THE DD-WRT V2 ( V24 SP2 Firmware Released ), Support For All DD-WRT Compatible Router

views
     
one_7
post Oct 6 2016, 11:29 AM

Getting Started
**
Junior Member
52 posts

Joined: Jun 2007


To those who have TPLINK Archer C7 V2

This is my startup script that I gather from searching and reading the DDWRT forum to get Unifi and HyppTV working nicely. Note that with this script you will get IPTV on LAN4 and other LAN ports still working for the internet.

Assuming DDWRT is already installed;

Put this script in administration>commands>startup then save startup

swconfig dev eth0 set enable_vlan 3
swconfig dev eth0 set enable_vlan 4
swconfig dev eth0 vlan 1 set ports "0 2 3 4"
swconfig dev eth0 vlan 3 set ports "1t 6t"
swconfig dev eth0 vlan 4 set ports "0t 1t 5 6t"
swconfig dev eth0 vlan 3 set vid 500
swconfig dev eth0 vlan 4 set vid 600
swconfig dev eth0 set apply

vconfig add eth0 500
vconfig add eth0 600

nvram set wan_iface=eth0.500
nvram set wan_ifname2=eth0.500
nvram set wan_ifname=eth0.500
nvram set wan_ifnames=eth0.500
nvram commit

stopservice wan
startservice wan

And put this script in the same startup field again and click save firewall. This is to prevent mulitcast from flooding the wifi.

insmod ebtables
insmod ebtable_filter
insmod ebt_pkttype
ebtables -A FORWARD -o ath0 --pkttype-type multicast -j DROP
ebtables -A OUTPUT -o ath0 --pkttype-type multicast -j DROP
ebtables -A FORWARD -o ath1 --pkttype-type multicast -j DROP
ebtables -A OUTPUT -o ath1 --pkttype-type multicast -j DROP

Reboot.
After reboot go to setup>networking and unbridged eth0.500 and enable masquerade/NAT.
Unbridged eth0.600 and enable both multicast forwarding and maquerade/nat.
Unbridged eth0 and enable both multicast and masquerade/nat.

Reboot again.

After reboot go to setup>basic setup>connection type and select PPPOE and key in your unifi credentials. Select manual for MTU and key in 1492 and apply settings.

If all done correctly you will get working Unifi and hypptv and the other LAN ports can still be used for internet. At least this is what I did to get it working.

To other sifus out there you are welcome to correct any missteps or advise on improvements that can be done to get this router working with DDWRT.

 

Change to:
| Lo-Fi Version
0.0234sec    0.52    7 queries    GZIP Disabled
Time is now: 28th November 2025 - 03:38 PM