Thread: copying files
View Single Post
Old 04-30-2004, 10:20 AM  
Join Date: Apr 2004
Location: Portland, Oregon
Posts: 46

site to site is enabled becuase I was able to do site to site from another server.

Just internal transfers do not work. None the less I have listed the proftpd config below... From what I am told you need to have AllowForeignAddress on for ftpd plus have the ports open on firewall.

# 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 "FTP"
ServerType standalone
DefaultServer on

# Define this if you want to prevent your server from displaying what FTP
# server and version you are using.
ServerIdent on "FTP Server ready."

#Time out parameters
TimeoutIdle 600
TimeoutNoTransfer 600
TimeoutLogin 300

# Port 21 is the standard FTP port.

# Port 21 is the standard FTP port.
Port 8387

# 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 that the server normally runs at.
User root
Group root

# To disable use of system-wide password file
PersistentPasswd off

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

# Setting this to 'on' makes PAM the final authority on what gets
# authenticated. Turning this off will tell PAM to allow other
# authentication modules compiled into ProFTPD a chance at the user.
AuthPAMAuthoritative On

# This is the PAM configuration file that will be referenced when
# authenticating. It can be set globally and/or per VirtualHost.
# The default is 'ftp'. Note: all PAM configuration files must be in
# /etc/pam.d
AuthPAMConfig ftp

# Don't let people pass % characters to the server and to protect against DoS a$
DenyFilter (\*.*/)|%

AllowForeignAddress on
AllowStoreRestart on
RequireValidShell on

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

include "/etc/proftpd/proftpd.conf.wp"
kieranmullen is offline