Originally Posted by szahmad1
i dont have enough info what the firewall log or the rules are,but i am running fedora 10 on both server and gateway.This is one of the requirements
Q: configure your firewall (using iptables) on the gateway to allow FTP clients (using either Active or Passive mode) through to the FTP server. All other connections should not be allowed.
Ok...you need to read up a bit about ftp connection tracking
you need to load the ftp connection track modules as well as allowing the access to the correct ports in the firewall.
for example, i have loaded these modules in
to get ftp working properly.
IPTABLES_MODULES="ip_conntrack_netbios_ns ip_nat_ftp ip_conntrack"
and allowed the source ip to the ports 20 and 21