Insereaza regulile astea printre ale tale si iti va merge.

/sbin/modprobe ip_conntrack_ftp
.....
$IPTABLES -N allowed
$IPTABLES -A allowed -p TCP --tcp-flags SYN,ACK,FIN SYN -j ACCEPT
$IPTABLES -A allowed -p TCP -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -A allowed -p TCP -j DROP
......
$IPTABLES -A tcp_packets -p TCP -s 0/0  -i eth0 --dport 21 -j allowed
.....
$IPTABLES -A INPUT -p ALL -d $INET_IP -m state --state ESTABLISHED,RELATED -j
ACCEPT





Marius Stan wrote:

> Salut,
> Am urmatoarea regula:
> /sbin/iptables -A INPUT -p tcp -i eth0 --dport 21 -j ACCEPT
>
> care ar trebui sa-mi dea acces la ftp.
> Dar, bineniteles ca dupa
> 227 Entering Passive Mode
>
> primesc connection refused, pt ca incearca sa se conecteze pe alte porturi.
>
> Intrebarea e: ce mai trebuie sa adaug in firewall ca sa imi mearga ?
>
> 10x
> Marius
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui