Untitled
By: a guest | Mar 20th, 2010 | Syntax:
None | Size: 0.79 KB | Hits: 60 | Expires: Never
BlackPearl ~ # iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
DROP tcp -- 84.21.30.45 anywhere
ACCEPT icmp -- 192.168.0.1 anywhere
ACCEPT icmp -- localhost anywhere
DROP icmp -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
BlackPearl ~ # iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -s 84.21.30.45/32 -p tcp -j DROP
-A INPUT -s 192.168.0.1/32 -p icmp -j ACCEPT
-A INPUT -s 127.0.0.1/32 -p icmp -j ACCEPT
-A INPUT -p icmp -j DROP