Complete Solution For FAQs of Personal FTP website domain name resolution Serv-U page 1/2

Source: Internet
Author: User
Tags default ftp port create domain ftp access ssl certificate

Complete Solution for Personal FTP website construction and domain name resolution (Super classic) [Image and text]
Integrate and adapt the best content about FTP establishment and domain name resolution on various forums,
The main content is from the new dynamic forum.
Download all FTP software to the shooter Network
========================================================== =
I. Preface

1. What is Intranet

Computers on the Intranet access the Internet through a public gateway using the NAT (Network Address Translation) protocol. Computers on the Intranet can send connection requests to other computers on the Internet. However, other computers on the Internet cannot send connection requests to computers on the Intranet. Therefore, they cannot use the usual method to create an FTP server.

The Intranet IP address can be in the following three forms:

10 .*.*.*
172. 16. *. * to 172. 31 .*.*
192. 168 .*.*

2. Intranet FTP Construction

2.1 dynamic domain names and Virtual Private methods:

Applicable Condition: unable to access the gateway server, and cannot perform professional port ing.

For example, the internal network Professional Edition for dynamic domain names and virtual private services of come. (Truehost ).

2.2 port ing method:

Applicability: ability to access the gateway server and perform port ing.

For example, the port ing software porttunnel.

3. About domain names

Domain names can solve the problem of no fixed Internet IP addresses. For example, "peanut shells.

The method mentioned in above 2.1 does not require another Domain Name Service because it already provides this service.

4. About Serv-U

A common tool for establishing FTP.

2. Establish an FTP Solution
Solution 1: Serv-U

Conditions: Fixed Internet IP addresses are available.

Solution 2: Serv-U + peanut shell

Applicable Conditions: There are unfixed Internet IP addresses.

Solution 3: Serv-U + peanut shell + porttunnel port ing

Applicability: Intranet IP address, which can control the gateway server and set port ing.

Solution 4: Serv-U + truehost

Conditions: Intranet IP address, cannot control gateway servers.

Solution 1: full introduction to Serv-U (version 4.1.0.0)

Serv-U is a well-known ftp server software that allows you to easily create an FTP server. The following describes how to install, set up, use, and answer some common problems of Serv-U.

The latest version of Serv-U is 4.1.0.0 and runs in Windows 9x/2000/NT/XP, as shown in the figure above.

I. Content Indexing

1. Installation and general settings

Installation --- localization --- running
Create domain --- add user --- set user directory --- Set User Permissions

2. Advanced Settings:

Create group --- grant Group Permissions
Modify service port
Block visitor IP
Kicker
Set server reply Information

3. Access example:

Internet Explorer
Cute FTP

4. FAQs:

Ii. Installation and general settings

1. Run and installProgram
Http: // 61.132.72.53/lb5000/usr/30/30 _406.1.jpg

2. Select the installation path

The installation path is usually ignored because everyone has a bad habit of installing all programs under the default % System % \ Program Files. Common Software has no major problems, but it is very dangerous for service software and security software. By default, the user's permissions on program files can be accessed and run, for hackers, they can turn off the firewall Virus Wall without obtaining administrator permissions and share the files they need to completely intrude into the firewall.

Therefore, it is recommended that you install Serv-U in a secure directory with the configured permissions.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_1.1.jpg

Horrible Permissions
Http: // 61.132.72.53/lb5000/usr/30/30 _406_2.1.jpg

This is an ordinary Windows Media Player Directory attribute (if Serv-U is installed here ...)

3. Simple wizard after installation

After the installation is complete, Serv-U will ask you a few questions, including: the IP address, Domain Name Description, service port, anonymous users in the domain, directories of anonymous users, and other users of the newly created domain.
You can leave Serv-U and then install the Chinese version of Serv-U.

Http: // 61.132.72.53/lb5000/usr/30/30 _406_3.1.jpg

After the patch is installed, the Serv-U is changed to the Chinese version. The settings are easy to understand and clear.

Serv-U supports creating multiple domains, that is, multiple FTP servers. However, these servers cannot use the same port at the same time. Each server must use different ports, the number of available network ports on the computer is 65535. After the reserved ports are deducted, you can select many other ports as needed.

The following describes how to create an FTP server in an empty Serv-U.

3. Create an FTP server
Http: // 61.132.72.53/lb5000/usr/30/30 _406_4.1.jpg

Run Serv-U, expand local server, right-click the new domain or press insert.

1. IP address of the newly created Server
Http: // 61.132.72.53/lb5000/usr/30/30 _406_5.1.jpg

: Leave the dynamic IP address blank.

2. Add a domain name for the new domain

Http: // 61.132.72.53/lb5000/usr/30/30 _406_6.1.jpg

Enter the new domain name description. You can enter the description at will. These are just identifiers.

3. Select the service port

The default FTP port is 21. You can select another port, but you need to know the visitor.

Http: // 61.132.72.53/lb5000/usr/30/30 _406_7.1.jpg

4. Select the domain type

If you set a maximum of 500 visitors at the same time, you can select the registry.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_8.1.jpg

Http: // 61.132.72.53/lb5000/usr/30/30 _406_9.1.jpg

To enable the DNS option, you can apply for a dynamic domain name explanation service at toz. com (the trial period is 30 days.

5. Add a user

Two types of users can be added here. One is anonymous with anonymous access permissions, and the other is to enter the user name and password to access the FTP service. We can grant different permissions to both users.

A. Add Anonymous Users

Similar to adding a domain name, right-click the user under the domain directory tree to choose to add a user or select a user under the domain directory tree and then press insert.

Enter the default name of the anonymous user anonymous. Note: Serv-U automatically identifies the user with the username anonymous as an anonymous user.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_10.1.jpg

Enter Anonymous

Http: // 61.132.72.53/lb5000/usr/30/30 _406_11.1.jpg

Specify accessible directory
Http: // 61.132.72.53/lb5000/usr/30/30 _406_12.1.jpg

Lock directory

B. Add a user with permission Constraints

You must enter the user name and password to log on to the FTP server.
Similar to adding anonymous users, the steps are roughly the same.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_13.1.jpg

Create a user movie
Http: // 61.132.72.53/lb5000/usr/30/30 _406_14.1.jpg

Note: Here Serv-U does not use a general "*" as the password.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_15.1.jpg

Specify directory path
Http: // 61.132.72.53/lb5000/usr/30/30 _406_16.1.jpg

6. Set User Permissions

This section describes user permissions, including file permissions, directory permissions, and sub-directory permissions. File permissions include: read, write, append, delete, and execute ).

Directory Permissions include list, create, and delete ).

Sub-directory permissions are inherited (inherit ).

Http: // 61.132.72.53/lb5000/usr/30/30 _406_17.1.jpg

File Permission:

Read: grant users the permission to read (download) files.
Write: grant the user the permission to write (upload) files.
Append: allows users to append files.
Delete: grant the user the permission to delete objects.
Execute: grant the user the permission to execute the file. Note: This permission is very dangerous. Once this permission is enabled, users can upload a malicious virus file and execute the file, which may cause an incalculable damage to the computer.

Directory permission:
List: grant users the permission to browse the file list. If the permission to read but disable the list is enabled, the user's download will not be affected, you only need to know the detailed download path.
Create: allows users to create folders by creating directories.
Delete: allows users to delete directories, but does not allow users to delete non-empty directories.
Subdirectory permission:
Inheritance (inherit): Like NTFS inheritance, users can access the next level of directories according to their permissions.

Iv. Advanced Settings

1. Use of user groups

Like Windows 2000/NT, Serv-U also has a similar user group management mechanism. You only need to set up a group based on the required permissions, and you do not need to re-define permissions for each user.
Assume that the current movie-Con group, movie-ADV, and upload group are available. The movie-con organization allows users who know the detailed download path to download files, then, the movie-Con group only needs to have two permissions: File Reading and sub-directory inheritance.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_18.1.jpg

Only movie-con groups with R---I (read and inherit) Permissions
The movie-AdV group allows users to browse the entire FTP server after login to select the files to be downloaded, the movie-AdV group requires three permissions: File Reading, directory list, And subdirectory inheritance.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_19.1.jpg

Movie-AdV group with file reading, directory list, And subdirectory inheritance
The upload group must have the upload permission. The file write, directory list, and sub-directory permissions should be granted to the group.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_00001.jpg

Only the upload group with the permission of file upload, directory list, and sub-directory
After a group with the corresponding permissions is created, you can add a user name to the group.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_21.1.jpg

A user in the movie-Con group has the permissions of the group and the permissions of the group.

2. Modify the server port

You can change the port of the FTP server (cluster 0-65535) in the domain attribute displayed after the selected domain. The default value is 21.

Http: // 61.132.72.53/lb5000/usr/30/30 _406_22.1.jpg

3. Send messages to visitors

You can send a message to the user who is accessing your FTP. For example, hello, welcome to log on. In 30 minutes, I will disconnect the server, use the FTP download software that supports resumable data transfer. And so on.
Select a medium domain, select "window" on the menu bar, select "message" from the drop-down menu, or press F2 directly, but the field must be selected.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_23.1.jpg

In the displayed message window, click "broadcast message" or press Ctrl + B to write the message.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_24.1.jpg

Http: // 61.132.72.53/lb5000/usr/30/30 _406_25.1.jpg

You can also send a message to a visitor independently. Select a domain and then select the activity:
Http: // 61.132.72.53/lb5000/usr/30/30 _406_26.1.jpg

4. Block visitor IP addresses and kicker

If you like it, you can block an IP segment or an IP address. The server rejects access from this IP segment or this IP address.
Select the medium domain, select the medium domain settings, and then select IP Access.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_27.1.jpg

Prohibit access from the 218. 19. *. *-218.255.255.255 IP address segment
You can also play a single user, select an activity in the middle domain, select a user in the user list, and select the user from the context menu.

Http: // 61.132.72.53/lb5000/usr/30/30 _406_28.1.jpg

5. Set the server's reply message

These replies will be displayed in the visitor's FTP download software event dialog.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_29.1.jpg

6. Restrict the upload/download speed of visitors

When too many users access your bandwidth, and even Browsing Web pages become as slow as turtles, You need to limit the upload and download speeds of visitors.
Select the user you want to limit. You can specify the user's speed in the general maximum upload/download speed:
Http: // 61.132.72.53/lb5000/usr/30/30 _406_30.1.jpg

7. Set advanced settings for the entire server

You can set advanced settings for the entire server. Under the server name (local server by default), select Settings:
Http: // 61.132.72.53/lb5000/usr/30/30 _406_31.1.jpg

? General settings:
O maximum speed: specify the maximum access speed of the server.
O maximum number of users: specify the number of visitors allowed by the server within the same time period.
O files/directories can only contain lowercase letters: Specifies whether only lowercase letters are used for all files and directories.
O disable anti-Timeout scheduling: Ignore the common method used by the customer to repeat the task timeout.
O intercepts "ftp_bounce" attacks and fxp: only the active mode is allowed to be transmitted to the customer's IP address, or the direct transfer from the server to the server is prohibited.
O intercepted connections exceed [] times in [] seconds [] Minutes: automatically intercepts users attempting to log on, generally set to 3 times.
? SSL Certificate
O specifies the use of SSL connections, applicable to advanced users.
? Directory Cache
O specifies the directory cache size and monitors the usage of the cache.
? Advanced
O Server:
Encrypted password: store the password in the encrypted form.
Enable Security: Force security. prohibit anyone from doing anything on the server.
Information packet Timeout: the timeout time of the information packet.
Directory List mask: Unix-style access mask is used for directory list.
PASV port range: restrict the PASV port number. The default value is between 1023 and 65535.
O file upload:
Allow unauthorized read-only access: first access the uploaded file with no permission. If the upload fails, use the read-only method to access the file.
No access: no one is allowed to access the files being uploaded.
Allow full access: allow other users to access the files being uploaded.
Adaptation Timeout: During the upload process, the server automatically adapts to the upload timeout.
Osockets:
External data: explains how to package OOB to the rule TCP stream.
Send connection signal: periodically send a signal to check whether the connection is not disconnected.
Disable NagleAlgorithmThen: do not wait for the waiting signal before sending the next package.
Sending Buffer: specify the size of the sending buffer. If left blank, the stack is automatically called.
Receiving Buffer: the buffer area for receiving is small. If left blank, the stack is automatically called.
O file download:
Allow full access: allow other customers or processes to fully access the files being downloaded.
Allow read access: only other users or processes are allowed to access the files being downloaded in read-only mode.

8. Tips (prompt)

1. For each option of Serv-U, the status bar in the lower left corner displays details of this option, providing users with adequate settings.
2. when setting a domain, note that the domain must be correctly set. You can set it to an IP address or a domain. Visitors will access the domain based on the domain or access the domain. If the domain name is set incorrectly, the visitor will receive messages such as inaccessible.

5. Access example:

Some FTP access software information when accessing Serv-U
Internet Explorer
Open Internet Explorer and enter the local FTP address. Enter the default local IP address 127.0.0.1.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_32.1.jpg

The Status Bar of Internet Explorer displays the following information:
User: Anonymous
Region: Internet
Download file: select the desired file, select the file in the menu bar, select "Copy to folder", right-click the file to be downloaded, and select "Copy to folder" from the context menu ".
The Status Bar of Internet Explorer displays the following information:
User: Anonymous
Region: Internet
Download file: select the desired file, select the file in the menu bar, select "Copy to folder", right-click the file to be downloaded, and select "Copy to folder" from the context menu ".

Http: // 61.132.72.53/lb5000/usr/30/30 _406_33.1.jpg

If you do not select any file, click the file in the menu bar and select another user identity to log on to the FTP server.
Http: // 61.132.72.53/lb5000/usr/30/30 _406_34.1.jpg

Http: // 61.132.72.53/lb5000/usr/30/30 _406_35.1.jpg

Http: // 61.132.72.53/lb5000/usr/30/30 _406_36.1.jpg

Cute FTP
Http: // 61.132.72.53/lb5000/usr/30/30 _406_37.1.jpg

Http: // 61.132.72.53/lb5000/usr/30/30 _406_38.1.jpg

Vi. FAQs

1. Why cannot I start Serv-U?
A: When Serv-U is started, the user should log in as the user when the software is installed. That is, it is best to start Serv-U by using the user identity of power user or above.
When starting the service, you must check whether the disk space is sufficient. When the system memory is insufficient, the Serv-U cannot be started.

2. There is a local server in Serv-U. Can I create multiple similar servers?
A: Yes. However, pay attention to the port settings to avoid port conflict.

3. I deleted the domain. Is there any way to restore it?
A: There is a copy of servudaemon in the installation directory of Serv-U. INI file, which stores the registration information of Serv-U and the setting information of the domain. Note that backup can avoid accidental deletion of the domain.

4. Why does an error occur when I access my FTP through 127.0.0.1 when I read the folder? Are you sure you have the access permission error prompt?
A: If you want to put the accessed file under the NTFS disk partition, you also need to grant the everyon access permission in NTFS.

5. Why can't I access the primary path of this user?
A: If you do not have the access permission granted to the user in the directory access, you can leave the same question even if you specify the user's home directory. You must set this permission.

6. What does the upload/download ratio mean?
A: This ratio refers to the ratio of visitors to upload and download at the same time. For example, if the ratio is 1/2, the visitor can use two threads for download when uploading a thread.

7. I can access it myself, but others cannot access it. What's the problem?
A: There are several possibilities. First, Your Firewall stops the ftp port. For example, the Norton Firewall only allows 21 outbound traffic and prohibits inbound traffic.
Second, if a visitor uses a domain name to access you, you need to ensure that the domain name can indeed access you.
Third, if you are on the Intranet, you also need to set port ing on your upper-layer egress host or network device.
Fourth, the access method of the other party is correct. If the access is incorrect due to incorrect input by the other party... ...

8. How can I use the disk quota limit in Serv-U?
A: You do not need to set the quota. This function is used to limit the disk quota of visitors. If your disk is too small, the system occupies a large amount of disk space. If there are too many visitors, it will also occupy a lot of disk space, which requires limiting visitors. The purpose of the disk quota limit lies in this.

9. I changed the ftp port of Serv-U. How can someone else access me?
A: You need to use the format "ftp: // yourip: Port" for access.

10. I use a proxy server to access the Internet. Can someone else access me?
A: You can set port ing on the proxy server to map the port to your machine.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.