Header Shadow Image


DD-WRT Can’t connect to Wireless Network

Can’t connect to a wireless network in windows or otherwise?  This issue came up on the DD WRT firmware enabled routers I have.  It’s possible that either FORWARDED ICMP traffic is blocked or an explicit rule on an interface is missing.  Here is a list of rules you can try, or the equivalent on your router:

# ———————-
iptables -A FORWARD -p icmp –icmp-type 0 -j ACCEPT
iptables -A FORWARD -p icmp –icmp-type 3 -j ACCEPT
iptables -A FORWARD -p icmp –icmp-type 8 -j ACCEPT
# ———————-
# ICMP – Allow ICMP TYPE 8 – Echo
# ———————-
iptables -A INPUT -p icmp –icmp-type 8 -j ACCEPT
iptables -A OUTPUT -p icmp –icmp-type 8 -j ACCEPT
# ICMP – Allow ICMP TYPE 3
iptables -A INPUT -p icmp –icmp-type 3 -s $(nvram get wan_ipaddr) -d $(nvram get wan_ipaddr) -m state –state NEW,ESTABLISHED,RELATED -j ACCEPT
# ICMP – Allow ICMP TYPE 0
iptables -A INPUT -p icmp –icmp-type 0 -d $(nvram get wan_ipaddr) -m state –state NEW,ESTABLISHED,RELATED -j ACCEPT
# ICMP – Allow ICMP TYPE 8
iptables -A INPUT -p icmp –icmp-type 8 -d $(nvram get wan_ipaddr) -m state –state NEW,ESTABLISHED,RELATED -j ACCEPT
# ———————-
# ICMP – 192.168.0.X
# ———————-
iptables -A INPUT -p icmp –icmp-type 0 -s 192.168.0.0/24 -d 192.168.0.0/24 -j ACCEPT
iptables -A OUTPUT -p icmp –icmp-type 0 -s 192.168.0.0/24 -d 192.168.0.0/24 -j ACCEPT
iptables -A INPUT -p icmp –icmp-type 8 -s 192.168.0.0/24 -d 192.168.0.0/24 -j ACCEPT
iptables -A OUTPUT -p icmp –icmp-type 8 -s 192.168.0.0/24 -d 192.168.0.0/24 -j ACCEPT
iptables -A INPUT -p icmp –icmp-type 3 -s 192.168.0.0/24 -d 192.168.0.0/24 -j ACCEPT
iptables -A OUTPUT -p icmp –icmp-type 3 -s 192.168.0.0/24 -d 192.168.0.0/24 -j ACCEPT
# ———————-

While determining what exactly is blocking traffic on your end, add the following lines at the bottom of the rules to drop any other traffic, and log it, that wasn’t taken care of the rules that already existed above:

iptables -A FORWARD -j LOG –log-prefix “DROP: ”
iptables -A INPUT -j LOG –log-prefix “DROP: ”
iptables -A OUTPUT -j LOG –log-prefix “DROP: “

Hope this helps!

Cheers,

Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

     
  Copyright © 2003 - 2025 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License

 

0
Would love your thoughts, please comment.x
()
x
The IT Development and Technology Mini Vault | MicroDevSys.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.