Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_lang.c>
- UseEncoding on
- </IfModule>
- ###
- ###### Installation information
- ServerName "Debian"
- ServerType standalone
- DefaultServer on
- DefaultAddress 0.0.0.0
- ###
- ###### Modules
- LoadModule mod_ratio.c
- LoadModule mod_readme.c
- ###
- ###### EDIT THESE NAMES using you Feral user-name
- User user1
- Group user1
- ###
- ###### EDIT THESE PATHS if NOT using the script
- AuthUserFile /home/user1/proftpd/etc/ftpd.passwd
- AuthGroupFile /home/user1/proftpd/etc/ftpd.group
- ###
- ###### PORT SETTINGS
- # Leave these settings. Change the ports in the sftp.conf or the ftps.conf
- # These two settings below disable some default behavior and restrict listening to what is defined in the sftp.conf and ftps.conf
- SocketBindTight on
- port 0
- ###
- ###### Options
- UseIPv6 off
- Umask 022
- DefaultTransferMode binary
- AllowOverwrite on
- AllowOverride off
- RequireValidShell off
- PersistentPasswd off
- WtmpLog off
- MaxInstances 100
- MaxClients 100
- dentLookups off
- UseReverseDNS off
- ProcessTitles terse
- ###
- ## Permissions
- # The way this setup works is deny by default. Except for your main user.
- # From here you will create rules to allow access and powers. I hope this makes sense.
- # Limits all FTP commands except login for all users.
- # Overides All limits for a specific user. Our main user.
- <Limit ALL>
- AllowUser user1
- # Replace my_username with the username if NOT using the script
- DenyAll
- </Limit>
- #
- ###### Allows read only and download access to a jailed location.
- # Please check the FAQ section on jailing users.
- # Note: You need to specify a users root/home directory when using ftpasswd
- #
- # rutorrent data
- <Directory /home/user1/>
- # STAT LSTAT are specific to SFTP only. See below
- <Limit STAT LSTAT DIRS READ>
- AllowAll
- </Limit>
- </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement