
14th June 2011, 00:39
|
|
Junior Member
|
|
Join Date: Nov 2010
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
pureftpd and apache2
Hello all,
Newbie question. So I installed pureftpd just as suggested in the tutorial but with nothing else of the perfect server on Ubuntu 11.04. I can do ftp from my machine on filezilla using the localhost but I can't see my computer from the outside. What configurations changes must I make, if any, on my apache .conf file. Thanks!
|

14th June 2011, 23:53
|
|
Junior Member
|
|
Join Date: Nov 2010
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
OK, so now the port is open and I can connect through filezilla but I'm getting a "Failed to Retrieve Directory List" error. I also get "Status: Server sent passive reply with unroutable address. Using server address instead."
Example:
root@box:/etc/pure-ftpd/conf# echo ,21 > Bind
root@box:/etc/pure-ftpd/conf# echo xx.xx.xx.xx > ForcePassiveIP
root@box:/etc/pure-ftpd/conf# echo 5000 5050 > PassivePortRange
Thanks
Last edited by lefloresg80; 14th June 2011 at 23:59.
|

15th June 2011, 08:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,589 Times in 2,441 Posts
|
|
Did you try both active and passive transfers in your FTP client?
|

15th June 2011, 18:08
|
|
Junior Member
|
|
Join Date: Nov 2010
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Falko,
Thank you for your response, I have Filezilla setup to connect on active mode if passive mode fails. From the Filezilla log, it seems it is able to connect but for some reason it can't create the folder list.
Thanks
|

16th June 2011, 08:32
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,589 Times in 2,441 Posts
|
|
What's the output of ?
Does FTP work from inside your local network, but not from outside? In that case you should also check your router configuration.
|

16th June 2011, 22:07
|
|
Junior Member
|
|
Join Date: Nov 2010
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Falko this is my output
Code:
root@folders:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Thanks
|

17th June 2011, 12:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,589 Times in 2,441 Posts
|
|
Ok, no firewall - that's ok.
What about my other question?
|

17th June 2011, 17:46
|
|
Junior Member
|
|
Join Date: Nov 2010
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Well at some point it started working, partially, but I think I'm having problems with my static ip, and I don't know if it's conflicting with my hosts file. Now every time I start my computer I have to make changes in the interfaces file in order to get the internet to work. I've tried configuring the static port through the router, with the interfaces file, and both at the same time, but something is amuck. When it does work I can't get passive ports working.
I just installed 11.04 on both computers at my office, and I have no idea how to go about and create an internal network for file/printer sharing. In the networks place all I see is windows network. So I haven't been able to check through the network. When it does work I end up connecting thrtough the internet on the other computer. I can't simply put 192.168.0.xxx:21 on filezilla and have it work.
Gonna reboot now and check if I still have to play around with the interfaces file
Thanks
|

22nd June 2011, 17:50
|
|
Junior Member
|
|
Join Date: Nov 2010
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
It seems that the other computer on my LAN is actually recognizing the internal address. From the outside the I can connect to the server (without passive ports) but then I can't get the folder list.
|

23rd June 2011, 16:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,589 Times in 2,441 Posts
|
|
So it's working from inside your LAN, but not from the outside? In this case you should check your router settings.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 09:50.
|
Recent comments
9 hours 33 min ago
12 hours 29 min ago
13 hours 43 min ago
15 hours 6 min ago
16 hours 44 min ago
18 hours 13 min ago
19 hours 26 min ago
1 day 11 hours ago
1 day 12 hours ago
1 day 15 hours ago