Hi,
here is the thing: i had set up a ftp server with vsftpd on a Mandrake 10.1 and i am behind a router/firewall (Speedtouch 510v4). Everything's running fine, i can connect to the server without any problem. Here is my problem: from another computer/ip, i can connect (passive mode) the first time, the second time and let say that the third time vsftpd keeps wanting the client to connect on some ports that i didn't put in the conf file. From that time, i can no longer connect to the ftp server in passive mode cause it sends wrong ports (for example 10800, 10801, 10802....)
My router/firewall is forwarding the ports 40500 to 40519 and the port 21 the local machine.
here is my vsftpd.conf file:
Code:
anonymous_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
anon_world_readable_only=YES
local_enable=YES
write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
ls_recurse_enable=NO
connect_from_port_20=YES
idle_session_timeout=600
data_connection_timeout=240
accept_timeout=60
connect_timeout=60
ascii_download_enable=NO
banner_file=/etc/banners/ftp.msg
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
hide_ids=YES
pasv_enable=YES
pasv_promiscuous=YES
port_promiscuous=YES
pasv_max_port=40519
pasv_min_port=40500
i hope i was clear. So to sum up: i can connect (passive mode) to the server and it uses ports from 40508 to 40516. It lasts 5 minutes then without any reason the server sends passive ports from 10800 to 10815 and i can not connect (the number of the ports are just an example). Also I never had a successful connection with IE, Firefox...(IE gives me a 425...)
Any ideas ? i don't have anymore....
thx for help.