Skip to contentSkip to conversation

Ftp server behind firewall

DISCUSSION Pierre Santana 2 participants 2 messages May 6, 2005

lore
Share & tools
lore
#0 lore raw

Hi;

I have a ftp server behind firewall and I can connect on ftp server but I can't list the archives of the directory.
The ftp server use the port 21 to connections and 20 to send packages. How I can do the iptables rules?

Tank you.

--
_
ºVº Pierre Santana
/(_)\ Linux User # 301047
^ ^ [email protected]

#1 lore raw
Quoted 7 lines · Pierre Santana

Hi;

I have a ftp server behind firewall and I can connect on ftp server but I can't list the archives of the directory.
The ftp server use the port 21 to connections and 20 to send packages. How I can do the iptables rules?

Did you do a:

modprobe ip_conntrack_ftp

and, in case you are using NAT:

modprobe ip_nat_ftp

and allowing RELATED traffic in your firewall rules ?

Regards,
Filip