diff options
Diffstat (limited to 'net-ftp/oftpd/files/conf.d.oftpd-r7')
-rw-r--r-- | net-ftp/oftpd/files/conf.d.oftpd-r7 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-ftp/oftpd/files/conf.d.oftpd-r7 b/net-ftp/oftpd/files/conf.d.oftpd-r7 new file mode 100644 index 000000000000..a8daed0f4f53 --- /dev/null +++ b/net-ftp/oftpd/files/conf.d.oftpd-r7 @@ -0,0 +1,26 @@ +# Please read the oftpd(8) man page for a more detailed explaination of these +# variables. +# +# FTPUSER (user-name in the man page): +# Set this variable to the user to run the ftp daemon as +FTPUSER=ftp + +# FTPROOT (root-directory in the man page): +# The server uses chroot(2) to change the root directory of the server to this +# directory. When a user connects, this is the directory that they will start +# in, and is the top of their directory tree. +# +FTPROOT=/home/ftp + +# FTPPORT (TCP port) +# 21 is the standard ftp port, but you can change it here to something else +FTPPORT=21 + +## Uncoment this line to activate oftpd service +# Note: in order for passive connections to work, you must specify an IP address +# here with the -i flag. You can make it listen to all IPv4 addresses: +# -i 0.0.0.0 +# or make it listen to all IPv6 addresses: +# -i ::1 +# By default, oftpd listens to all IPv4/IPv6 addresses, but passive mode fails. +#OFTPD_OPTS="-p ${FTPPORT} ${FTPUSER} ${FTPROOT}" |