View previous topic :: View next topic |
Author |
Message |
crazyzed Apprentice
Joined: 26 Mar 2004 Posts: 154
|
Posted: Mon Sep 05, 2005 10:48 pm Post subject: proftpd |
|
|
i have problems connecting to my proftpd server from clients...
I have a firewall that I have configured to pass port 21 to the server...
right now I try to use the proftpd.conf.sample
I have some questions about the users:
Code: | # Set the user and group under which the server will run.
User proftpd
Group proftpd |
I had to create these manually! what do they do? do the clients use these to connect to the server?
Code: | <Anonymous ~ftp>
User ftp
Group ftp |
the user ftp and group ftp was allready created, is this what the clients use to connect? I don't have to create a anonymous user and group huh?
should I create /home/ftp ? and what user:group do they need? (I have created /home/ftp)
when I try to connect with gftp client it says 'Receiving file names...' for a long time...
Code: | 220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [192.168.30.2]
USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS xxxx
230 Anonymous access granted, restrictions apply.
SYST
215 UNIX Type: L8
TYPE I
200 Type set to I
PWD
257 "/" is current directory.
Loading directory listing / from server (LC_TIME=<unknown>)
PASV
227 Entering Passive Mode (192,168,30,2,128,15).
LIST -aL
Connection to crazyzed.mine.nu timed out
Disconnecting from site xxxx.mine.nu
|
when I connect with Firefox it loads for a very long time then I come to a screen that looks like it would be the server
Code: | Index of ftp://xxxx.mine.nu/
Up to higher level directory |
but it is not cause I have put a file named test.txt in the home/ftp folder and it doesn't show up |
|
Back to top |
|
|
Sibben n00b
Joined: 16 Nov 2003 Posts: 40 Location: Sweden
|
Posted: Mon Sep 05, 2005 10:58 pm Post subject: |
|
|
I'm not a proftpd hacker but I think you need port 20 and 21 for FTP.
The user and group proftpd mentioned in the config are probably the user/group that the proftpd process runs as.
You should be able to log on to the ftp using your regular user/pass. |
|
Back to top |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Mon Sep 05, 2005 11:05 pm Post subject: |
|
|
you should open port 20 for ftpdata, check your /etc/services.
I know that usually firewalls are configure to accept releated connections I donno how you have yours.
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
|