OpenWrt Forum Archive

Topic: Block Pings

The content of this topic has been archived on 12 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

How do I setup White Russian 0.9 to drop pings to the router?

I tried to do it in firewall.user but couldn't get it to work.

Linksys calls this "Blcok Anonymous Internet Requests".

Thank you.
Roe.

I figured it out.

Add this to your /etc/firewall.user file:

### Block Pings
# See http://forum.openwrt.org/viewtopic.php?pid=11742
iptables          -A input_wan -p icmp --icmp-type echo-request -j DROP


I had a forwarder that was forwarding to my computer behind the firewall.  Opps.

Thanx for looking.

The discussion might have continued from here.