On Thursday 21 June 2007 15:30, Hans Linux wrote:
> i always have bad experience with my proftp server. i have it running
> but i can't transfr any data. Everytime it always stuck at "Entering
> passive mode" for a long time and then timeout. But if I disable the
> firewall, it works well. So which port of firewall should i open? I do
> some googling and find out port 30000-30050 or 60000-65535, but it
> didn't work.

Hello Hans,
It's not your proftp's fault.
In passive mode, the ftp client will connect to the ftp server on tcp 21, then 
for data transfer it will open random high ports. In order to do this your 
kernel must have ip_conntrack_ftp module loaded, so that it can 'track' the 
connection for ftp.

I believe you can set it in your firewall to load the needed module.
HTH,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
3:58pm up 8:50, 2.6.18.2-34-default GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Attachment: pgp6jcb4nwnvY.pgp
Description: PGP signature

Reply via email to