PDA

View Full Version : Problemino con iptables?


stefanoxjx
18-09-2005, 18:43
Il problema è questo, riesco a raggiungere il mio serverino solo dall'ip interno, ma non riesco più a raggiungerlo dall'esterno; fino a 2 giorni fa andava senza problemi.

Le regole mi sembrano giuste perchè:

# iptables -L
erver:/# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- 192.168.0.0/24 anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:www
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:pop3
ACCEPT tcp -- anywhere anywhere tcp dpt:10024
ACCEPT tcp -- anywhere anywhere tcp dpt:10025
LOG all -- anywhere anywhere LOG level debug prefix `Blocked Packet: '
ACCEPT tcp -- anywhere anywhere tcp dpt:4665
ACCEPT tcp -- anywhere anywhere tcp dpt:4662
ACCEPT udp -- anywhere anywhere udp dpt:4672
ACCEPT tcp -- anywhere anywhere tcp dpt:4711
ACCEPT tcp -- anywhere anywhere tcp dpt:4712


Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- 192.168.0.0/24 anywhere
DROP all -- anywhere anywhere

Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere 192.168.0.0/24
ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED

Però dall'esterno le porte sembrano chiuse.
L'unica cosa che ho fatto di recente, è stata quella di installare fwlogwatch, che però ora ho stoppato, ma continuo a non accedere dall'esterno :cry:

Che prove posso fare?
Grazie.