How to build a server using ADSL dial-up Internet access

Source: Internet
Author: User
Tags to domain

Order:Setting up a server requires two-condition hardware server and a fixed public IP address. Any personal computer can be used as a hardware server. The only problem is how to obtain a fixed public IP address.

 

Chapter 1

Literacy: The difference between the local IP address and the Public IP address in ADSL dial-up access mode

1. How to view the local IP Address

Method: Enter dos and enter the command ipconfig to view your intranet IP address, which is used for communication within the LAN.

Ii. How to view public IP addresses

Method: IE browser input URL: http://www.ip138.com, you can see that the local access to the Internet IP address is 163.125.59.28

 

Chapter 2

1. The public IP address is changing.

Internet access through ADSL dialing, logon to your computer again, and reconnecting to the broadband will change the public IP address. Therefore, you need to use a method to obtain a fixed public IP address for the local machine.

2. Obtain a fixed public IP address using the peanut shell Tool

Official website of peanut shells: http://www.oray.com/

How to Use peanut shells:

Statement: From http://iask.sina.com.cn/ B /12113120.html

The best effect of peanut shells is that the dynamic IP address users of ADSL dialing should do the following:
Step 1: Go to the website of peanut shells: register a passport and then log on, after logging on to the "Domain Name Service Center", select "register domain name record" to register a "free Domain Name ".
Step 2: download and install the "peanut shell" software. Note: For users with fixed I (Internet), you can also try the methods in step 1 and step 2.
(The dynamic IP address of the ADSL dialing user here is changed to: The "Domain Name" you applied for; the fixed IP address (Internet) the user here changes the IP address to your fixed IP address or the requested "to domain name") Another note is that the IP address in this file can also be set, I personally think it will be faster when the server is started. We recommend that you set it here.
4. Modify the IP entries in the connectserverlist. dat and serverlist. DAT files in the "data" folder in the "CS" folder under the server directory.
(The dynamic IP address of the ADSL dialing user here is changed to: The "Domain Name" you applied for; the fixed IP address (Internet) the user's IP address here is changed to your fixed IP address or the requested "redirection domain name ")
5. Check whether the IP addresses in the "4" and "8" files under the "Start" directory are ". the final port number of file "8" is "55901" if not changed.
6. Determine the "ip" and "Port" of the client. (the IP address of the client of the ADSL dialing user should be "the domain name you applied for"). (fixed IP address (Internet) the user Client IP address should be "Your fixed IP address or the domain name you requested to switch to") the client port number should be "44405"
(Now, the IP address and port settings are complete, and the service can be started. It should be successful. There will be no errors on the server side. As for those who haven't set up SQL, for more information, see some tutorials. The tutorials are all very detailed.) Let me talk about the LAN (Intranet) formed by using the ADSL routing function ), and the LAN (Intranet) in the Internet cafe, try on the IP address and port. (First declare: I am a dynamic IP user (Internet) of ADSL dialing. Therefore, I only suggest and think about how to manage the Intranet (which I think when I go to bed), because I am not an intranet, so there is no way to experiment. You need to study the following methods. I think it should be possible .) The details are as follows: (for the Intranet, the first is not to use software such as peanut shells)
Step 1: Find the "port "software and map the IP address of the host that runs the server as a mu in your LAN to the IP address of the device connected to the intenet network.
(The "IP address of the intenet network device" means that the user of the ADSL route refers to the IP address of the ADSL device, if you remember it well, the IP address seems to be "". The "IP address of the intenet network device" in the internet cafe means: IP address of the device connected to the Internet in the internet cafe)
I think everyone should use the "port Er" software: porttunnel. The specific method is as follows: Start "porttunnel" and click "add" on the main interface ", then, enter the ing name in the "name" in the "General" item (this name can be used as needed)
Next, enter the value "55901" in "input port", select the IP address of the host that you want to use as the Mu running server, and enter "intenet network device" on "output address ". and then click OK. I don't understand the other items in this section, such as "IP Security" and "HTTP, I don't want to modify it. Good! After completing this step, I think your machine's IP address should have been "mapped.
Step 2: Check whether your network device has a network firewall and some disable it.
Step 3: Find someone to try to see if you can access your machine, that is, IIS. Can someone else see your homepage online. (In this step, you need to indicate that your address is the IP address of the device connected to the intenet network, not the IP address of your local machine. Then, after completing this step, you can try to use it, or use a peanut shell or a domain name to find your IP address .) The next step is to modify the server files. The premise is that after you have installed the server software, you have not set any port for the server software to keep it in its initial state. If you change it, you can change it all back to 55901. If you do not change it to 44405 on the server side, this is not acceptable. It is estimated that an error will be reported. (To change these items, we recommend that you use the "character substitution" when using the file type. * ", so you are not afraid of missing files. When you replace the file, wait for a while to avoid modifying the file because of the machine speed and search replacement speed)
The specific modification method is as follows:
First, replace all IP addresses with "character Replacements"
2. Modify the IP entries in the "iplist. dat" file in the "data" folder under the server directory. (The IP address here is changed to "IP address of your device connecting to intenet ")
Third, modify the IP entries in the connectserverlist. dat file in the CS folder under the server directory.
(The IP address here is changed to "IP address of your device connecting to intenet ")
It should also be noted that the IP address in this file can be set to "". I personally think it will be faster when the server is started. We recommend that you set it here.
4. Modify the IP entries in the connectserverlist. dat and serverlist. DAT files in the "data" folder in the "CS" folder under the server directory.
(The IP address here is changed to "IP address of your device connecting to intenet ")
5. Check whether the IP addresses in the "4" and "8" files under the "Start" directory are ". the last port number of file "8" is "55901"
If not, change it.
6. Determine the "ip" and "Port" of the client. The IP address of the client should be: "IP address of the device connected to intenet"
The client port must be "44405"
(Now, the IP address and port settings are complete, and the service can be started. It should be successful. There will be no errors on the server side. As for those who haven't set up SQL, for more information, see some tutorials. The tutorials are all very detailed)
Next I will explain my point of view on "ing" intranet IP addresses, especially the idea of setting "input port" and "output port" to 55901. The default input port "81" and output port "80" of "porttunnel" cannot be used. My reason is that the Mu port is dead, there are only 44405 and 55901, so it is definitely wrong to set it to others,
However, if you set the server to 44405, an error will be reported when the server is set to 8th in the same way as when I dial the ADSL server. Therefore, it is better to set the server to 55901 to keep it conservative, in addition, whether it is Intranet or internet, we recommend that you set the server to 55901 to avoid errors .) Next, let me talk about some opinions on the IP address of the ADSL Router device. I found that the IP addresses of the ADSL devices that use the ADSL routing function are as follows, users under the ADSL route need to map the IP address to the IP address of the ADSL device, that is, to the IP address.
On the client side, the IP address should also be set to the mapped IP address, that is, port 44405.
As a client, I had an idea. After accessing the internet, the client found that "wow, there are so many (because the IP address of the ADSL after the ADSL routing function is enabled is, there are more than one person playing the ADSL routing function. In this way, there will be n people on the Internet.) in this way, how can the client choose to access the network, I think this is the time when the port works. I think the 44405 and 55901 pairs should be correct. Therefore, the client should only check port 55901, this ruled out those ports not 55901, but the Internet certainly is not just a port of 55901, so at this moment, I think the server name will work, the client only looks for servers with the same server name as port 55901, how can customers find it? Well, I haven't thought about it yet. Haha ~~~~~
The above IP addresses are all configured with the Internet IP address and the local IP address. The specific situation varies with people. If the above IP address cannot be used together, change the matching mode as needed.
However, the principle is that if the server uses the IP address of the local machine, it is absolutely impossible for others to see you or connect to you.
However, if you use an Internet IP server, an error is reported. Therefore, it is feasible to use an Internet IP address + A local IP address.
However, if you use the preceding method, in particular, if you have a fixed Internet IP address, you should try to replace file 55901 after file 8 with file 44405, but the IP address of file 8 must be moved, of course you can try it if you don't move it. It may be wrong.
It's not what I wrote. I don't have this talent. It's just for your reference.

 

How to build a server using ADSL dial-up Internet access

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.