Results 1 to 6 of 6
Hi,
I'm using proftpd for an ftp daemon and it's really pissing me off. I think it's ftp in general, actually but anyway... Anywhere on my LAN I can access ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-09-2004 #1Just Joined!
- Join Date
- Nov 2004
- Location
- Christchurch
- Posts
- 12
FTP Server
Hi,
I'm using proftpd for an ftp daemon and it's really pissing me off. I think it's ftp in general, actually but anyway... Anywhere on my LAN I can access my FTP server (my computer
). But, when i try it from 'outside' it just says either "530 Login Failed", or comes up with a login prompt and then says "530 Login Failed". My computer is behind a smoothwall firewall which is configured to forward ports 21 and 20 to it. Any suggestions as to what I can do?
- 11-09-2004 #2Just Joined!
- Join Date
- Oct 2004
- Posts
- 49
can you post your proftpd.conf file and part of the log file where the error occurs?
- 11-09-2004 #3
- 11-10-2004 #4Just Joined!
- Join Date
- Nov 2004
- Location
- Christchurch
- Posts
- 12
haha oops, only forwarding TCP. Man, im so stupid
Originally Posted by Giro
. Well, actually smart for my age but still...
- 11-10-2004 #5Just Joined!
- Join Date
- Nov 2004
- Location
- Christchurch
- Posts
- 12
Code:ServerName "Edwins Music Share :P" ServerType standalone DefaultServer on Port 21 Umask 022 MaxInstances 5 User nobody Group nogroup SystemLog /var/log/proftpd.log TransferLog /var/log/xferlog #Okay, you put this line here yourself. It uses ports 37501-37505 as the passive ports. PassivePorts 37501 37502 37503 37504 37505 <Directory /*> AllowOverwrite on </Directory> <Anonymous /home/ed/Music> RequireValidShell off User ftp Group ftp # We want clients to be able to login with "anonymous" as well as "ftp" UserAlias anonymous ftp # Limit the maximum number of anonymous logins MaxClients 50 # We want 'welcome.msg' displayed at login, and '.message' displayed # in each newly chdired directory. DisplayLogin welcome.msg DisplayFirstChdir .message # Limit WRITE everywhere in the anonymous chroot <Limit WRITE> DenyAll </Limit> </Anonymous>
- 11-19-2004 #6Just Joined!
- Join Date
- Oct 2004
- Posts
- 49
ANonymous directive should point for an user home
then you should use the Directory directive to specify the place.
it seems that you use a directory in anonymous directive and so no anonymous user is recognized by the server.
try something like this change to suit your needs its just an example.
# User Access Control
<Limit LOGIN>
Deny All
</Limit>
# Anonymous configuration
<Anonymous /some_user_home>
User ftp
Group nogroup
UserAlias anonymous ftp
HideNoAccess on
<Limit LOGIN>
Allow All
</Limit>
<Limit ALL>
Deny All
</Limit>
<Limit PWD CWD LIST RETR>
Allow ALL
</Limit>
<Directory /dir>
Umask 022 022
<Limit MKD STOR>
Allow All
</Limit>
</Directory>
</Anonymous>


Reply With Quote
