Tutorial on creating an FTP server with an intranet IP Address

Source: Internet
Author: User
Tags default ftp port

Tutorial on creating an FTP server with an intranet IP Address

Many friends want to create an FTP server to share their resources on the Internet, so they cannot implement it without a public IP address. In fact, Intranet IP addresses can also be used to create FTP servers.


Step 1:
First of all, you must install "d2g client" or "Peanut client" to apply for a dynamic domain name resolution. You can download it from its official website.
D2g client:
Http://www.deerfield.com/download/dns2go/

After the download, you can install it on your LAN server or client.
After the installation is complete, follow the prompts to register a new domain name: ** .dns2go.com
After registration, if everything is normal, your d2g client will be working, you can resolve your static or dynamic IP address.
In fact, applying for dynamic domain name resolution is not only a dns2go method, but also a peanut shell and a dynamic host. If there is a static IP address, you can directly use the IP address without applying for dynamic domain name resolution.

Step 2:
However, the current d2g can only map the IP address of your LAN server, and the external cannot access your machine.
Now you need a port ing software.
"
We recommend a small and practical tool: porttunnel

Introduction to porttunnel

We recommend a tool to help you easily implement "port ing ". This tool is called "porttunnel" (Chinese meaning "port channel"). It is produced by steelbytes and is free of charge now! Its settings are extremely simple and can run on all Windows platforms.

Well, let's make some practical X:

Suppose I am a LAN user, my internal IP address is 10.10.10.10, And I access the Internet through the specified gateway 10.10.10.1, I installed the "Dynamic IP resolution" software and web server on my computer, and the FTP server was ready to open a website and FTP server. The following is my setup process:

1. Install the "porttunnel" software on the gateway (proxy) server 10.10.10.1 (copy the software)


This is the software interface:


2. Configure the required web service, click "add", and configure as follows:




Click "OK" to save

Note:

In the figure, port in is set to port 80. The prerequisite is that no web server is running on the gateway (proxy server). Otherwise, replace other ports, for example, "8080" (in this case, the user must access your website through http: // <your domain name>: 8080 .) /

3. Configure the FTP service as needed. Click the "add" button and configure it as follows:




Click "OK" to save

Note:

Port
The port number entered in is 21, so that no FTP server is running on the gateway (proxy server). Otherwise, replace other ports, such as "2100" (in this case, the user must pass
FTP: // <your domain name>: 2100 to access your FTP server .) /

4. The normal operation interface after the setting is successful (this interface can be turned off at ordinary times without affecting the usage)



Note:

During normal operation, the status of the channel you set should be "active". If it is "failed", it is very likely that the "port in" port number and gateway (proxy server) You set will be) existing port conflict on.

5. test:

If you can access your website or FTP by using http: // <your domain name>, you can access your FTP server.

Important:

If multiple users in the LAN want to set up a website, note that when setting a port
The in port can only serve one user. For example, usera uses 80 as the port
In ", then his website can be accessed through" http: // ", while userb can only use other" port/
For example, "8080", his website can only be accessed through "http: //: 8080. The same applies to FTP servers. /

Appendix:

Porttunnel:

Http://www.steelbytes.com/download/PortTunnel_CH.zip)

Http://www.steelbytes.com/download/PortTunnel_ENGUK.zip)

Here, port in is the port to be monitored, Port
Out is the port to be mapped. For example, if you want to listen to port 88 of the server and map it to port 80 of your machine, the port in here is port 88, Port
Out is 80. The default FTP port is 21. If you want to enable the FTP server, this can be 21.
Click Start to start the server. The program is automatically added to the system service and will be automatically started every time it is started.

The above two steps are complete. Everything is OK!
Now, you can use the "d2g Domain Name: Listener port" you applied to access your machine.
Note: The above method (using porttunne software) is used when port 21 cannot be changed. If your system is Win98, this porttunne software is not necessary to be used, because port 21 of Win98 can be changed at will, we recommend that you use the Win98 system when setting up an FTP server on the Intranet.

Related Article

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.