03/10/2005, 06:24
|
| | | Fecha de Ingreso: mayo-2005 Ubicación: Valencia, Venezuela
Mensajes: 33
Antigüedad: 19 años, 6 meses Puntos: 0 | |
Hola Koveart... puse lo que me dijiste y salio esto:
root@servidor:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- localhost anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- 192.168.0.0/24 anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:5555
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere 192.168.2.0/24
ACCEPT all -- 192.168.2.0/24 anywhere
ACCEPT all -- 192.168.1.0/24 anywhere
ACCEPT all -- anywhere 192.168.1.0/24
ACCEPT all -- 192.168.0.18 anywhere
ACCEPT all -- 192.168.0.34 anywhere
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- 192.168.0.0/24 anywhere tcp dpt:ftp
ACCEPT tcp -- 192.168.0.0/24 anywhere tcp dpt:ssh
ACCEPT tcp -- 192.168.0.0/24 anywhere tcp dpt:pop3
ACCEPT tcp -- 192.168.0.0/24 anywhere tcp dpt:smtp
ACCEPT tcp -- 192.168.0.0/24 anywhere tcp dpt:domain
ACCEPT udp -- 192.168.0.0/24 anywhere udp dpt:domain
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state NEW
root@servidor:~# |