Your IP : 216.73.216.48


Current Path : /hdd/hdd21/main/etc/
Upload File :
Current File : /hdd/hdd21/main/etc/proftpd.conf

# This sample configuration file illustrates creating two
# virtual servers, and associated anonymous logins.

ServerName			"VLEVSKI"
ServerType			standalone
# UseReverseDNS			off
# Port 21 is the standard FTP port.
Port				24

# Global creates a "global" configuration that is shared by the
# main server and all virtualhosts.
<Global>
  # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
      Umask				022
</Global>

# Set the user and group that the server normally runs at.
User				nobody
Group				nogroup
# 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

# Maximum seconds a data connection may "stall"
TimeoutStalled			300

# Another virtual server, this one running on our primary address,
# but on port 4000.  The only access is to a single anonymous login.
<VirtualHost 192.168.10.222>
    ServerName			"VLEVSKIFTP"
    Port				21
    Umask				027
    <Limit LOGIN>
	DenyAll
    </Limit>
    <Anonymous /var/ftp>
	User			ftp
	Group			ftp
	UserAlias		anonymous ftp
	<Limit LOGIN>
	    AllowAll
	</Limit>
	<Limit WRITE>
	    DenyAll
	</Limit>
	<Directory /var/ftp/inc>
	    <Limit WRITE>
		AllowAll
	    </Limit>
	</Directory>
    </Anonymous>
</VirtualHost>