AT&T U-verse 2wire Gateway and DD-WRT Router in DMZ Mode…

We’ve recently upgraded our ISP to AT&T U-verse. With this switch AT&T provided a 2wire gateway. So far the service has been excellent. Recently we setup a live chat support feature on the website, as you can see to the right. With this feature we also plan to integrate a remote desktop feature, to allow us to provide our clients with live and instant support.

While setting up our new live services, it became apparent that we would need an external IP address issued to our WRT54GL router running DD-WRT. Our first attempt led to success, but our connection was dropping every 10 minutes. This was causing our dowloads to drop and fail, IM disconnects, and live support dropping our support sessions. After reading the router logs, we found that our WAN DHCP lease was running out after 10 minutes. After that 10 minute time frame the connection was dropped, and the lease renewed. Obviously this is a major problem.

With a bit more research we found that the DD-WRT SPI firewall is blocking responses from the DCHP server. UDP requests are sent to the DHCP server at 50% intervals, but the response is actually coming from a different server, and is thus blocked by the firewall.

The easiest fix for this is to add the following command to your firewall rules.

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

After entering this command into our firewall rules, our issues with dropped downloads, and intermittent web signals vanished. It ended up just being a case of a powerful firewall, doing its job just a little to well.

Let us know if this article was helpful to you. We provide all of our articles free of charge, and free of ads, with the hope that our users find them useful. We even find ourselves referring to our own articles while in the field making repairs. Happy computing. :)

Was this article helpful? Here's a few related articles which may also interest you.

11 Comments to “AT&T U-verse 2wire Gateway and DD-WRT Router in DMZ Mode…”

  1. Ryan says:

    ¡Muchísimas gracias! This article helped me so much!

  2. Mike says:

    I was so glad someone posted this. I was on the phone with att support for 4 hours before looking through ddwrt command database and figuring this out on my own.

    The sad part is the fact that no one at Att could tell me why there DMZ+mode assigned 10 minute lease times, nor how it impersonates (bridges) the public dhcp server.

    never had this problem with Comcast, but at least my connection stays up for more than 30 days at time with att…

  3. Todd says:

    Just wanted to thank you for posting this. I have had Youtube and large (long timeframe) download interruptions since I switched to Uverse with my DD-WRT router and didn’t know why. I had searched before and this time found your site.


  4. Kurt says:

    Thanks alot. Just got Uverse yesterday and my DDWRT router was hanging up on large downloads. This seems to have fixed it.

  5. orange80 says:

    Where exactly do you add this rule with DD-WRT?


  6. Admin says:

    Under the “Administration” tab, click the “Command” tab. Copy the rule into the “Commands” box and click “Save Firewall” below that. You may or may not need to restart your router. If you’re successful, you should see your lease time being renewed every 5 minutes. You can validate this by going to the “Status” tab, and under that the “WAN” tab. Your lease should be for 10 minutes, with a renewal at the 5 minute mark. So essentially, if you see anything under 5 minutes under Remaining Lease Time you need to check that you’ve added the rule correctly. Good Luck… :-)

  7. alper gurdal says:

    Thank you so much. Now I can watch youtube and use skype without drops.

  8. TechNazgul says:

    You, sir, are a genius! Thank you so much for posting this. Fantastic tip.

  9. Sean Smith says:

    Thank you so very much for this article. It literally has saved me from ripping out my hair trying to figure out why I could never finish downloading the iPhone firmware updates for my phone from Apple. The past twenty or so attempts that I had tried all failed at seemingly random points in the download and after applying this firewall rule I was able to directly download the firmware file on the first attempt.

    Is it okay if I republish this information on my own site and provide a link back to this address? I want to be able to preserve this valuable information in case I need it again quickly.

    Thanks again!

  10. Jaime says:

    Thank you so much for this tip. Like others have stated, it has save my hair from the wrath of frustration!

  11. Dan Woodard says:

    This has been an issue for me for some time now. Each time I would stream audio, it would crash after a few minutes (maybe 10 as it turns out) or so. Thanks!

Leave a Comment