Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Proftp problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
garnie
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 108
Location: Vinderup, Denmark

PostPosted: Mon Sep 06, 2004 11:00 am    Post subject: Proftp problem Reply with quote

I have a server with Proftpd currently it runs anonomys because it host's internal mirror for debian and gentoo.

But now i need a user who uses login and pass on same server . . and also need access to write to his folder.

After this is done i need a firewall rule to allow it to be visible on the internet . . (internel ip for ftp mirror is 192.168.1.5) if that should do any thing ;)

have sitting to try this for about ~2 hours but nope i can't get i working .. :(
Back to top
View user's profile Send private message
Minox
Apprentice
Apprentice


Joined: 12 Apr 2004
Posts: 188
Location: Germany / Munich

PostPosted: Mon Sep 06, 2004 11:02 am    Post subject: Reply with quote

Hi,
should we do the work for you?!

KR,
_________________
:!: proud to be 100% M$ free :!:
Back to top
View user's profile Send private message
garnie
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 108
Location: Vinderup, Denmark

PostPosted: Mon Sep 06, 2004 11:09 am    Post subject: Reply with quote

just need a little help on how to get this running Myself . . ;)

proftpd.conf . . if that helps . .
Code:

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "SKP.dk"
ServerType                      standalone
DefaultServer                   on

# Port 21 is the standard FTP port.
Port                            21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances                    30

# Set the user and group under which the server will run.
User                            proftpd
Group                           proftpd

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
  AllowOverwrite                no
</Directory>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous /mirror>
  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                    20

  # 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>

<Global>
 AllowRetrieveRestart on
 AllowStoreRestart on
 DefaultRoot ~
 LoginPasswordPrompt off
 AllowForeignAddress on
 TimeoutStalled 60
 TimeoutNoTransfer 520
 TimeoutLogin 60
 RequireValidShell on
 RootLogin off
 AccessGrantMsg w00t
 PassivePorts 11000 12100
 </Global>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum