I want to block ping on a linuxbox to any other address where it would go to the default gateway.
vmdebianamd64:/etc/tcng# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
198.9.200.0 * 255.255.255.0 U 0 0 0 eth0
default 198.9.200.249 0.0.0.0 UG 0 0 0 eth0
i used
iptables -A OUTPUT -d 198.9.200.249 -j DROP
no i can't ping to 198.9.200.249 but i can still ping to -www.yahoo.com which is not on my network?
why and what solution