[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

can't transfer files via ftp



 Dear all,

I use debian 3.1(sarge) as a router. I wrote a firewall script after I run this script all the pcs in my LAN can't transfer files from ftp server but I do allow ftp ports

$IPTABLES -A FORWARD -i $LAN_IFACE -o $INET_IFACE -s $LAN_IP_RANGE -d 0/0 -p tcp --dport 20 -j ACCEPT
$IPTABLES -A FORWARD -i $LAN_IFACE -o $INET_IFACE -s $LAN_IP_RANGE -d 0/0 -p tcp --dport 21 -j ACCEPT

I can connect to ftp server but I can't transfer. Do anyone give me an advise?
Thanks.


Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
Reply to: