Build FTP server in intranet IP

Source: Internet
Author: User
Tags default ftp port ftp interface web services domain domain name client port number

Many friends want to build an FTP server to share their resources on the Internet, suffer from no public network IP, can not be achieved. In fact, intranet IP can also build an FTP server.

First step:

First of course to install D2G client, apply for a dynamic domain name resolution, you can go to its official website to download

After downloading, you can install it on your LAN server or client.

All the way carriage return after installation, press the prompts, register a new domain name: **.dns2go.com

After registering well, if all is normal, your d2g client will already work, can to your static or dynamic IP address resolution.

In fact, the application of dynamic domain name resolution is not only dns2go a method, and other peanut shells, dynamic host and so on. If there is static IP, you can not apply for dynamic domain name resolution, directly with the IP address can be.

Step Two:

However, now the D2G can only map your LAN server IP, outside and can not access your machine.

Now you need a port mapping software.

Recommend a small and practical tool: Porttunnel

---porttunnel introduction of the tool to set up the website in the LAN

Here, we recommend a tool to help you easily handle the "port mapping." This tool is called "Porttunnel" (Chinese meaning "port Channel"), produced by Steelbytes, is now completely free! It is very simple to set up and can run on all Windows platforms.

Well, let's do a real x:

Suppose I am a LAN user, my internal IP address is 10.10.10.10, I am through the designated Gateway 10.10.10.1 Internet, I installed on my own computer "Dynamic IP Resolution" software and Web server and FTP server ready to open a Web site and FTP server. The following is my setup process:

1. Install "Porttunnel" Software on my Gateway (proxy) server 10.10.10.1 (copy)

2. For the Web services I need to configure, click the "Add" button, and then configure

Port in fills in the port number is 80, this fills in the premise is the gateway (proxy server) does not have the Web server to run, otherwise please replace other ports, for example "8080" (in this case, the user must through http://< your domain name >:8080 to visit your website. )

3. For the FTP service I need to configure, click the "Add" button, and then configure the following:

Attention:

Port in fills in the port number is 21, this fills in the premise is the gateway (proxy server) does not have the FTP server to run, otherwise please replace other ports, for example "2100" (in this case, the user must through ftp://< your domain name >:2100 to access your FTP server. )

4. Set a successful normal operation interface (usually this interface can be turned off, will not affect the use)

Attention:

When running normally, the channel you are setting should be "active", if it is "Failed" it is likely that you set the "port in" port number and the existing port on the gateway (proxy server) conflicts.

5. Test:

If through http://< your domain > can visit your website or ftp://< your domain > can access your FTP server, that is successful.

Important NOTE:

If there are many users in the LAN want to set up the site, then notice that when the setting, a "port in" ports can only serve a user, for example, UserA used "80" as "Port in", then his site can be accessed through the "http://", UserB can only use other "port in" ports, such as "8080", his site can only be accessed through "http://:8080". The same is true for FTP servers.

Report:

Here, port in is the one you want to listen to, and port out is the one you want to map. For example, you want to monitor the server's 88 port, mapping to your machine's 80 port, where the port in is 88,port out is 80. The default FTP port is 21, if you want to open an FTP server, this can be 21.

After adding, click "Start" and the server begins. The program automatically joins the system service and starts automatically each time it is powered on.

The above two steps are complete, all ok!

OK, now you can use the "d2g Domain name: Listening port" You have requested to access your machine.

Dynamic domain name can be applied on demand

  please contact the site, timely note your name. Contact Email: edu#chinaz.com (change # to @).



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.