spolti
(usa Fedora)
Enviado em 03/12/2012 - 15:28h
Dessa mesma forma:
[root@ulacti76512 ~]# iptables -A INPUT -s 10.10.10.10 -j DROP
[root@ulacti76512 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
DROP all -- 10.10.10.10 anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Veja a linha: DROP all -- 10.10.10.10 anywhere
Abs.