Results 1 to 2 of 2
Hi,
I have a problem I installed PureFTP on Debian system, everything seems to be ok, but only problem is, when I try to connect in passive mode. This doesn't ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-04-2006 #1Just Joined!
- Join Date
- Mar 2006
- Posts
- 1
PureFTP and passive mode problem
Hi,
I have a problem
I installed PureFTP on Debian system, everything seems to be ok, but only problem is, when I try to connect in passive mode. This doesn't work. I get a timeout by entering passive mode. Can somebody help me to solve this problem?
I start ftp server by:
/usr/local/pureftp/sbin/pure-ftpd -E -p 31000:31050 -lpuredb:/usr/local/pureftp/etc/pureftpd.pdb &
When i try to connect from my computer to this server, netstat give my following:
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 10.10.2.242:31010 0.0.0.0:* LISTEN 104 369474 32060/pure-ftpd (ID
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 0 361754 31031/pure-ftpd (SE
tcp 0 0 10.10.2.242:21 82.100.0.70:1513 ESTABLISHED0 369469 32060/pure-ftpd (ID
This should be ok, port for passive conenction is from the specified range, but nothing happens, only window with:
227 Entering passive mode (10,10,2,242,121,34)
When i try telnet from my computer to the server with this port, i get logs on the server, so, there shuld be no problem over network. I tried the connection from more places and there is no difference
Mar 4 12:33:21 wardogs ippl: port 31010 connection attempt from 82.100.0.70 (82.100.0.70:1518->10.10.2.242:31010)
thanks and sorry for my english
- 06-14-2006 #2Just Joined!
- Join Date
- Jan 2005
- Posts
- 3
Open your pureftpd.conf file
vi /etc/pureftpd.conf
uncomment the following lines and specify the port range you want to do passive ftp
PassivePortRange 40000 50000
and open this portsin your firewall(APF like firwalls will block this ports so open it, in the case of apf add this port rane into IG_port section in the above case insert port as 40000_50000
restart your fire wall and iptables -F , this will work


Reply With Quote
