Streaming video stops - the fix (if you have DD-WRT)

Internet access discussion, including Fusion, IP Broadband, and Gigabit Fiber!
11 posts Page 1 of 2
by ladr » Tue Aug 21, 2012 2:50 pm
When I first got Fusion service, I loved it until I found that streaming video would stop every few minutes.

It turns out that what was happening was that Sonic renews it's DHCP leases every 5 minutes, and the renewal message was being blocked by the built in firewall of my DD-WRT router. So rather than properly renewing, the lease would expire and the video would drop while a new lease was being set up.

The fix is to allow those messages through:

add a rule to specifically allow those messages. Do this by navigating within your router’s interface to Administration > Commands, and entering the following into the Commands fields:

iptables -I INPUT 2 -p udp --sport 67 --dport 68 -j ACCEPT

Finally, press the Save Firewall button to save the rule to be executed whenever the router is restarted.

Credit: ... dhcp-lease
by parkerday » Tue Aug 21, 2012 9:22 pm
Another DD-WRT command I find helpful is one that allows access to the modem through the router. For example, if you try to go to (common DSL modem IP) you won't get anything, but...

Save this command to Startup:
ifconfig `nvram get wan_ifname`:0 netmask

Save this command to Firewall:
iptables -t nat -I POSTROUTING -o `nvram get wan_ifname` -j MASQUERADE

...and you'll be able to access your bridged modem at through your router. It's really handy for checking sync rates and other modem stats. There is a good explaination of it here (along with modifications that may be needed to the commands): ... figuration
by jmunowitch » Wed Aug 22, 2012 5:01 pm
Thank you, this looks like a great piece of info. I will have to try this when I get home.

This could be why my VPN drops off seemingly randomly when I am on my home connection.
by mitsuko3 » Sun Feb 17, 2013 1:39 pm
I found your article on the video stops although I have a similar issue with Cisco Linksys E2500.
I went to Cisco Linksys support but the warranty expired and they want me to pay for the support service.
I went to the router and could not find Administration > Commands, and entering the following into the Commands fields: I do not see the commands.
Appreciate any help on this.
by dane » Mon Feb 18, 2013 12:41 pm
I wish someone would submit this as a patch to DD-WRT. This bug has existed for some years, and it's quite an annoyance for folks who use the tool.
Dane Jasper
by hfidek » Mon Feb 18, 2013 5:31 pm
omg i have strugle with that same problem for ever with ddwrt and the linksys 2500.
by digitalbitstream » Wed Nov 13, 2013 12:57 pm
++ great info.
And I filed a bug report with DD-WRT, but don't hold your breath:
by BrainSlayer » Wed Nov 13, 2013 4:12 pm
opening the port just for fun is a security flaw. remember, anyone can send renewal requests to a wan port, not just in isp based environments. normally a initial dhcp request is returns with a new ip information which also contains the lease time. if time is over, the dhcp client will renew itself without any request from the isp. so the dhcp server on isp side is wrong configured. if i just open this port, it would make alot of fun to get alot of people into trouble just by sending fake renewal requests to routers with bad ip configurations
by digitalbitstream » Wed Nov 13, 2013 9:38 pm
BrainSlayer : you appear be one of the voices blocking a fix for this issue on the DD-WRT side.

It's hardly "fun" to open the port. It's needed only to be able to download a file that takes longer than 5 minutes, eh?
If the firewall solution is wrong, what a solution do you recommend?
And how can this be a security hole if the router, which is the DHCP client, processes the DHCPOFFER?
DD-WRT *is* the client: why is it not renewing the lease at 50% of the lease time (2.5 minutes in the case)?
by jon » Thu Nov 14, 2013 12:33 am
For the record, I'm using DD-WRT and am NOT seeing a lease-renewal problem. Using DD-WRT's Status->WAN
display, I can see the lease being renewed by DD-WRT half-way through the 5-minute lifetime.

Setup: Sonic Fusion with a dynamic IP address.

Modem is an Actiontec GT701D in bridge mode.

Router is a Linksys WRT54G v8.2 running DD-WRT v24-sp1_micro_generic 7/27/08, with
a dhcp client on the wan side. I've not changed its iptables settings, and didn't see any
dhcp-related rules (udp port 67 or 68) in a listing of its iptables.
11 posts Page 1 of 2

Who is online

In total there are 13 users online :: 1 registered, 0 hidden and 12 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: Bing [Bot] and 12 guests