 2 edits | [SOLVED] DD-WRT Not Pingable Hi, I'm trying to make my router running DD-WRT pingable, without opening it up to pings from everyone else on the Internet.
I have enabled ping replies, but also added the following IPTABLES commands to DD-WRT's Firewall command area, disabling ping replies from all but the specified IP addresses:
iptables -A OUTPUT -p icmp --icmp-type echo-reply -d 127.0.0.1 -j ACCEPT iptables -A OUTPUT -p icmp --icmp-type echo-reply -d 192.168.222.10 -j ACCEPT iptables -A OUTPUT -p icmp --icmp-type echo-reply -d 74.208.229.54 -j ACCEPT iptables -A OUTPUT -p icmp --icmp-type echo-reply -d 64.81.79.40 -j ACCEPT iptables -A OUTPUT -p icmp --icmp-type echo-reply -d 64.81.79.41 -j ACCEPT iptables -A OUTPUT -p icmp --icmp-type echo-reply -j DROP
The 2nd address is my local machine so I can ping the router, the 3rd-5th addresses are the IPs that DSLRP uses to test.
When I add another IP, and test from that remote machine, pings are replied to. When I remove that IP, pings are not replied to. So it works for all remote machines I have tested, but still I can't get the DSLRP monitors to work.
Any ideas? |