Build a personal Web Server

Source: Internet
Author: User
Tags ftp file ftp login ftp site ftp client email account ftp access

Add your own online materials

======================================

1. Apache configuration (available)

The core configuration file of Apache is "httpd. conf ", which is located in the Apache installation path/CONF/on the computer. If it is installed in the root directory of drive C, the file should be in" C: in/Apache/CONF/, open the "Start Menu"> "program"> "Apache HTTP Server"> "edit the Apache httpd. conf configuration file can also be used. In the latest version 1.3.26, its role is more obvious. Open it in notepad and you can see that these configuration files all exist in text format. "#" is the annotation symbol of Apache, you can click "Search" in the edit option in the notepad menu to enter the following keywords and configure them accordingly. 15. Find "DocumentRoot" in the configuration file ".

A. Configure DocumentRoot. This statement specifies the path of your website, that is, the directory on your home page. You can use the default one, which is generally a sub-directory under the Apache installation directory. You can also specify one by yourself. Note that "/" is not added at the end of this sentence. In addition, the path separator is written as "/" in Apache server. For example, we can set it to "E:/ww/homepages/Homepage" here. When you open the home page, the document opened by default is directly searched in this directory.

B. Configure directoryindex. This is the homepage displayed by default on your site. For example, you can add the homepage name myfirstweb.htm in "E:/ww/homepages/homepage.pdf. In general, we can add indexes index.htm index. php index. php3 index. cgi index. pl default.htm here. Note: Leave a space between each type.

The above two steps are basically set up. Start IE and enter the IP address of your computer to access your web site. You can also define your domain name at the servername of the file, enter your email address at serveradmin. The above two items are selected during installation and can be modified here later.

In addition, if you refuse some people to access your WWW site, you can also find the access file in the Apache installation directory and enter the IP address you prohibit.

It can be seen that appache does not have a graphical configuration interface, which is also the main reason for its high security and stability, but its configuration is very simple. You only need to enter parameters in the text file, the WWW server architecture is the most professional among all methods.

Ii. Using Serv-U

In the construction of the FTP server, Serv-U is currently one of the many tools used. It is easy to set, powerful, and stable. In general, it is better than the FTP server attached to IIS. It is applicable to all Windows versions. It is a shared software that allows users to use it for free for one month.

Step 1: download and install Serv-U.

Currently Serv-U is up to 4.0, the file size is 2.9 MB, one of its download sites is "http://www.download.com.cn/show.phtml? Action = detail & id = 484 ".

Click the downloaded executable file to start installation. The installation process is very simple. You can keep the default value for all settings. Press "Next" to complete each step (24 ). After the installation is complete, the Serv-U icon appears on the Windows desktop. Double-click the Serv-U icon and the main Serv-U window appears, click Start server in the right window of the main interface to start the FTP server.

Step 2: Set up an FTP server

Serv-U configuration.

After Serv-U is installed, the Configuration Wizard appears. You can use this wizard to configure it. The main steps are as follows.

A. the installer starts a setup wizard to help you set up the FTP server and click "Next" to continue.

B. In the displayed dialog box, enter the IP address that you want to bind to the FTP server. Unless your computer has multiple fixed IP addresses and you only want one of them to be used by the FTP server, we recommend that you do not have a fixed IP address, leave this item empty (that is, enable automatic detection by the system), and click "Next" (25 ).

C. Enter the domain name (domain name ). Enter the domain name of your FTP server. However, the domain name is determined by DNS resolution rather than here. Therefore, you can fill in any content, such as text that describes FTP like "My Personal FTP server.

D. Enter the ftp access port number, which is usually 21 by default.

E. Create and Access Directory settings for anonymous users. First, the wizard will prompt you if you want to create an anonymous account. Here you select Yes. If you do not select this option, you need the user name and password to access the FTP server. Next, the installation wizard prompts you to enter the main directory of an anonymous user (anonymous home directory). Here, you can set the location for anonymous users to access the hard disk as needed.

F. select whether to restrict anonymous users to their home directories. If yes, users can only access their home directories and the following directory trees. If no, you can access the directory tree at the same level or higher level in the home directory. From the security perspective, we recommend that you select YES.

G. Create a new user and access directory. Follow the wizard prompts to create a new user and enter the password (26). Then, specify the Directory and user permissions that the user can access.

By now, your personal FTP has been set up. However, this can only implement the default functions and permissions granted by Serv-U. To enable the server to be controlled and managed as you like, you still need to perform the following operations, this mainly includes the following points.

A. Management of FTP users

To add a new user (including adding anonymous users), select users (users) in A Serv-U domain, right-click and choose new user ), set the user name, password, home directory, and so on as prompted (27 ).

To delete a user, right-click the user and select Delete user.

B. Manage Directory Permissions

Select the user name in the left frame of Serv-U, and then enter the Dir access (Directory Access) window in the framework on the right. After selecting the corresponding directory in the list, you can change the current user's access permission on the right side of the window (28 ).

File attributes include:

Read: the power to read (copy, download, not view) files.

Write: the power to write (upload) an object.

Append: the power to write and attach files.

Delete: The right to delete (upload, rename, delete, and move) an object.

Execute: the power to run executable files directly.

List: The view power of files and directories.

Create (create): Permission to create a directory.

Remove: the right to move, delete, and rename directories.

Inherit (inheritance): If this option is checked, the property set above will act on the current path (directory) and its entire directory tree; otherwise, it will only work for its current directory.

C. Other settings

You can also set some common information about the server at setting under the local server.

In "Max no. of users", set the maximum number of users simultaneously logging on to the server.

In the max. Speed Field, set the maximum download speed for the user based on the configuration of your computer.

Select the "Block users who connect more than xx times within YY seconds for ZZ minutes" check box and set the corresponding value, it can prevent some malicious users from logging on to the server frequently in a short period of time for the purpose of attack.

Select the delete partially uploaded files check box to automatically delete incomplete files on the server after the upload fails. If you do not select this option, you can enable Serv-U to support the resumable upload function (29 ).

WWW server and FTP access

WWW access can be implemented using IE or other browsers, such as natscape and opera that we often see. Since it is easy to access, we will not discuss it in detail here.

There are two methods to access FTP:

A. directly use IE to log on to FTP. The ie We are using can also be used as the FTP login tool. Just like browsing the webpage, you only need to change the HTTP address in front of the address to FTP, for example, accessing your own ftp, you can enter ftp: // localhost (30) in the browser. This is an anonymous access method. If you use IE to log on to FTP, you need the user name and password, right-click the logon menu (31) and enter the user name and password in the dialog box. After ie logs on to the FTP server, the files on the FTP server are the same as those on the local machine, and can be copied and pasted.

B. use special software to log on to FTP. There are many such software, including flashfxp, CuteFTP, and LeapFTP.

I personally think LeapFTP is very good, easy to operate, and occupies a small amount of resources. Its usage is described as follows step by step.

Step 1: download and install LeapFTP.

At present, LeapFTP is a newer version of 2.7.2, which is a shared software. The simplified version of LeapFTP v2.7.2.592 can be downloaded at http://www.skycn.com/soft/711.html. Its installation is very simple. You can simply click "Next" to complete the installation. After the installation is complete, there are only a few configuration files and its own independent program. Basically, it is a green software.

Step 2: Use LeapFTP.

A. Open LeapFTP, and its main interface is 32.

B. Add an FTP site. Click "sites"> "Site Manager" on the menu (or press the shortcut key F4) to bring up an FTP site management window. Click "add site" to create a site. In the dialog box on the right, enter the basic information of the site one by one, for example, the server name (you can enter the name at will, mainly for management convenience), server address, port, and user name (33). to log on to the FTP site, double-click the name in the left-side window.

C. Obtain the file list on the FTP server and upload or download the file as needed. After logging on to FTP, you can see the FTP file list in the upper right window of LeapFTP. If you need to download the file, drag the selected file to a directory on the local hard disk on the left (34) you can. Similarly, you can use this method to upload files on the hard disk to the FTP server.

Iii. Domain Name application and dynamic IP Solution

To facilitate memory, we can apply for domain names for WWW server and FTP server addresses.

Netease provides a free Domain Name application, you can go to http://my.yeah.net/apply-new.htmget free (35), for example, apply for http: // 202.117.51.43 corresponding domain name http://forus.yeah.net, in this way, you no longer need to remember meaningless digital symbols when accessing your WWW Service. Enter your domain name in the browser. In addition, jacke wonderful (http://www.k666.com/k666/yu-ming/apply.php) and my001.net (http://www.my001.net) are also provided free WWW Service Domain Name application.

For FTP, the number of domain name application sites is relatively small. Here we recommend that you change the old domain name to the free service to raise www.dhs.org. Open the website, click the signup connection, and enter the registration content, including the user ID, user name, and user's e-mail address, activate the registered account through the e-mail address sent to you by this website. Then you can log on to the website according to the password provided by the website, click "login", enter the account and password, and then add the domain name conversion Service (36 ). After registering a domain name, if you want to access your FTP later, you only need to enter the registered domain name, for example, enter a ftp://forus.dhs.org to represent the FTP server on your local machine.

When constructing WWW and FTP servers, we usually need static IP addresses. In fact, for many dialing users, IP addresses often change. Therefore, when setting servers, it is very complicated to often tell other people to access the changed IP address. There are two ways to solve this problem.

The first method is to apply for a dynamic Domain Name System. www.3322.orgwww.dhs.org provides such services. The setting steps are similar to the above steps for applying for a Domain Name Service.

Second, we can use the dynamic domain name client developed by xiwang to solve this problem by setting it. To use the software, you must first register a dynamic domain name for free in the Greek network. In "management account", enter the applied user name and password to add the registered account (37 ). To better use this software, you also need to set parameters, select an automatic detection IP address within a certain period of time, and set it to boot automatically (38 ). In this way, you only need to tell others about the dynamic domain name you applied for, and the software will automatically help you complete the rest.
How to Set up a personal server -- A New tutorial on peanut shells
Many new users may be too simple to answer questions or are too reluctant to answer questions, because the simpler the question, the harder it is to explain. The reason for writing this article is to allow people who have just been in touch with Windows servers or who have been using Windows server for a while but still have the chance to get rid of it., IP address, port ing, IIS, email server, firewall ......, How can I write so much? >>@_@ <if you still don't understand some of them, please do not rush to the Forum to ask questions, think carefully about what you learned and heard in the past. Every time you solve a problem, it means that you have a deeper understanding of this part of the knowledge, and the days when you become a master will come.

I. Starting from the Operating System

1. Select the server Family System

If we want to build a stable and powerful network server, we must use a system that supports network services. In the Windows system set, the system used as a server includes the old NT Server series, the popular 2000 Server series, the 2000 Advanced Server series, and the future. NET Server series. For peanut users, it is more appropriate to use Windows 2000 Server in terms of speed and performance as a personal or small-scale company website. Subsequent introductions will be based on this system.

In addition, I would like to remind you that most of the Win2000 purchased on the d version market has been patched, that is, the so-called SP version. Microsoft's latest patch is SP3. When you choose, you 'd better buy the SP3 version, which saves a lot of time for online patching :)
  
2. Install the system and software

You can install the Win2000 Server System in the default mode. Most of the functions we need are available. After the installation is complete, we also need to install the dialing software. I personally recommend raspppoe and netvoyager. The previous installation is complicated, for new users, we should select a simple one: netvoyager is a dial-up software compiled by South Koreans. In the same principle as raspppoe, netvoyager binds a Protocol to the nic and uses ISDN for dial-up, automatic dialing is also supported, good :)

The installation of this software is also very simple, and it will be OK without stopping next. After the installation is complete, run the new icon on the desktop and enter your account and password to connect to the Internet, which is what we call the internet. (If you cannot find the software, you can also use the software provided by the network service provider to access the Internet)

After connecting to the Internet, the first thing is to go to Microsoft's Windows Update Website. Click "start" on the top of the "Windows Update" menu ". He will pop up a series of plug-ins to install, all click "yes" to complete. Then, according to his prompt, you may be allowed to restart only the class, so you may have to repeat this step several times until all the "key system updates" are updated. Remember, during this time, you 'd better not log on to any other website or install any software or other plug-ins. Wait for him to download and install all updates.

Then install the network firewall. We recommend that you use Norton's personal firewall for security and automatic update. This is also done by a charge "Next". After the installation is complete, run its "Live Update" Update.

If you have a network firewall, you still need a virus firewall. Why are there too many walls. We recommend that you run "Live Update" to the latest version after Norton Antivirus 8.0 Chinese Enterprise Edition is complete.

After all the walls of the Great Wall are built, it's our turn to be a peanut shell. Don't say that?
2. Software settings

1. Set peanut shells

To use peanuts, you must have an account (passport) to go to the peanut account application page (Http://8008.oray.net: 8008/workstation/) Apply for a domain passport, register your peanut shells, and apply for a free domain name. (As for top-level domain names, we will discuss them later)

Are you done? Open your peanut shell, that is, a small box next to time in the lower right corner of the system. By the way, this box is colored when it connects to the network and logs on to the peanut server. Once the peanut server or your network fails, it will become gray. We haven't logged on yet, so the small box should be gray now. Log on to the server now. Double-click the box and a window will pop up. On the "status" Page, enter the account and password you just applied for, and click "Refresh list ". (In this case, your firewall will tell you that you want to access the Internet. You must agree to this request. We will accept this request.) If you can see the domain name you just applied for, it means you have succeeded! The peanuts should be colored now.

2. Set IIS

Everybody, the key content is coming. IIS 5.0 is an HTTP/FTP/SMTP/Frontpage Server service provided by Win2000. It integrates ASP dynamic page technology, FTP server, SMTP mail server, and FrontPage Server, is a very powerful service group.

Right-click my computer and choose "manage". In the "Computer Management" window, expand "services and applications" and click "Internet Information Service" on the right of the window, we can see that the "Default web site" and its "status" is "running"; "Host header name" is empty "ip address" is "all unallocated "; "Port" is "80". Do not disturb these concepts for a while. You will understand it later, in fact, they are not important (this is not important because they are not really important, but for us, we will not understand them because we need to change them) right-click "Default web site" and select "properties ". A "Default web site properties" window is displayed. You must be careful not to modify any attributes unless you are sure that the modification is beneficial to you. We should first change the "Description" on the "web site" page to the original "Default web site" description to your own site name. Click the "main directory" Page, modify the "local path", click "Browse", and select the directory where your website is located. For example, if you want to save the website file in the "mywebsite" Directory of drive D, you can click "Browse" and select the "mywebsite" Directory of drive D, and then confirm. The address in the "local path" column is changed to "D:/mywebsite.

Okay. The last step is to change the Website access documentation. That is to say, after someone typed your domain name in a browser, how does the server know how to open one of the many files in your website directory? Let's just look at it! On the document page, we can see that there are three documents in "enable default Document", and there are two arrows up and down and two buttons "add" and "delete. When IIS receives a service request, it will look for it in your website directory. The first of the three files is the one in the first line, open the file to respond to the service request. If you cannot find the file, you will find the second file, the one in the second line, and so on. Therefore, if you want your website to be more efficient, you must put your homepage file on the first line. Click "add" to fill in the file name, such as "index. asp", and click "OK". Then, you can see how the last line is located? Don't worry. First click the file "index. asp" you just filled in, and then click the up arrow to see the file go up :)

Now, the most basic IIS settings are complete. Click "OK ". Enter your domain name in your browser.

3. Set up your own forum, message board, and chat room

If you only use HTML static pages, you only use the IIS function with less than 10 points. Have you ever thought about creating a forum like peanut? Yes? Of course! However, you must first learn about ASP, databases, and so on. It won't be difficult :)

ASP stands for Active Server Pages, which is a technology that Microsoft uses to replace CGI (an early standard for dynamic services and other services. The latest version is ASP. NET, but IIS 5 cannot be used to explain the pages written in ASP. NET. We should use ASP. JSP, PHP, crml... are of the same nature as ASP ...... And so on. Everyone has their own performance and other aspects. For new users, we are unlikely to develop a set of forums, message boards, and other programs on our own, so we can only -- the Stone of his own, hey.

We go (Http://down.vv66.com/) Find a suitable forum for download
Or (
Http://www.dvbbs.net/download/dvbbs5_final.exe) Directly download the dynamic network forum (recommended)
The dynamic network forum is famous for its speed and stability, as well as various plug-ins for installation. The most important thing is that it has detailed installation instructions. It is good for new users. (It's also good for my hands. It's so sour ~~)

After the download, install (self-Extract files) to your website directory, for example, "d:/mywebsite/", and create a directory named "dvbbs ". Access your domain nameHttp://xxxx.vicp.net/dvbbsLook. You have already entered the forum ~~ Haha.

Then let's set the Forum color and some configurations. TypeHttp://xxxx.vicp.net/dvbbsLog on to your forum with Admin. the user name is admin and the password is admin888. Then, select "manage". For security reasons, the program will ask you to enter the user name and password again, and add an additional code, it is mainly to ensure the security of your forum. After entering the management page, you can see a lot of options. Hey, let's look at this. If you don't understand, you can go to the dynamic network forum (Http://www.dvbbs.netFor more information, see some text files in the Forum directory.

As for the installation of the message board and chat room, it is basically similar to the above. You can try it first. If you don't understand it, ask the experts :)

4. Set up FTP

Wow, we all wanted to build our own site ~~. Today, let's take a look at the establishment of the FTP site.

As with the previous HTTP server, software must be available to create an FTP site. There are now a lot of FTP site building software on the Internet, such as the Popular Serv-U, raidenftpd with the highest speed, the old FTP server software WS-FTP, and of course the IIS we just mentioned built-in FTP.

As a newbie, it is very important to make the program interface easy to understand. So I chose Serv-U to explain it to you. (Http://www.cnyou.com/down/list.asp? Id = 1059)

After the installation is complete, the program runs automatically, we will receive such a question "please" Next "to proceed or" cancel "to skip the Setup Wizard", asking you if you want to set up your FTP server. Of course. Haha, next!

Then ask you "enable small images with the menu items? "Do you want a small icon? This is your option (it seems like a waste) Next!

Click "Next" to start running the local FTP server and connect to it. Next!

Then there was a boom in the hard disk, and another window "IP address (leave blank for dynamic or unknow IP)" asked your IP address (do not know or fill in the dynamic IP address) we don't need to worry about it with peanuts. Just click "Next.

Enter your domain name in the next window, enter the domain name or independent domain name you applied for in the peanut, and continue the next step.

"Allow Anonymous access? "Do you want to allow Anonymous Logon (Login Name: anonymous)? If you want to publish this site to everyone, select YES and next; if you only want to use it for your own customers (it's hard to eat it alone !!), Select No.

We are so generous, of course we chose yes, so it asked you the path of the FTP home directory, for example, the ftpsite directory of the d disk, you can fill in F:/ftpsite, you can also select the file cabinet in the system directory. Next step!

The program asks you if you want to lock this directory. If you are locked, anonymous login users can only access the directory you just specified, that is, they can only access the files and folders under this directory, other directories such as (D:/ABC) cannot be accessed. How can I let others know my secrets?

Then ask if you want to create a user? (Not anonymous) If you just disabled anonymous users, you need to create one or more users here. If it weren't for your FTP, no one would be able to access them :) yes. We will create an administrator user and fill in Van (here we will fill it out, just remember it), next step password ...... Needless to say, right? What is the login directory? Just as you did, you can also define it as (D. I asked you if you want to lock it. Forget it yourself. No, next! What permissions do you give yourself (Van? Well, of course, the bigger the power, the better (you should pay attention to the complexity of the password to ensure security). Select system administrator and next. Click Finish! Haha! Your FTP server is built in this way. Use your FTP client software to log on to it :)

5. Create an email server
 
Do you want to have your own email system after you have your own HTTP and FTP sites? Free Space ?, We also provide SMTP and POP3 services so that you can download your emails from outlook and Foxmail? Is there a web interface? Can I apply online ??!! Wow, this ...... You are too greedy. Suddenly, no problem. Let's see what email server software is available on the Internet to help us do this. Popular email servers include authoritative IMail, MD, magic winmail, and CMailServer. The first three products are made by foreigners, and CMailServer is made by Chinese people, and its functions are no worse than those of foreigners. Let's download and see (
Http://www.cnyou.com/down/download.asp? Downid = 1& Id = 1403 ).

After the installation is complete (please note that if your machine has installed the anti-virus software for email detection, you should turn it off, this will cause port conflict. SMTP uses port 25 for pop and port 110 for Pop.) Open the program automatically. Click "set" first, in the service box, select the server on which you want to run. We select "Internet server" to set "Support for ESMTP" (support for ESMTP: used to set the client to send mail identity authentication, this effectively prevents unauthorized users from using CMailServer to send spam .) "Allow email proxy" (in this way, software such as outlook and Foxmail can download and send emails on your server) "Run as NT Service" (run as NT Service: this function is used to set whether the CMailServer runs as the NT Service background. This function is only valid for winnt/2000/XP systems .) Hook.

Select "Single Domain Name" in the mailbox domain name settings (HA, if you want to do more domain names, of course, but it is a bit complicated, we will talk about it later) then, enter your domain name in the input column, for example (xxxx.vicp.net). Of course, if you are an independent domain name, you can also set it to (xxxx.com ). Note that if the domain name you enter here is xxxx.vip.net, then your mailbox full name is name@XXXX.vicp.net, And if you fill in xxxx.com, then your mailbox name is name@XXXX.com. Hey, some speculative friends may set the domain name to 263.net or another name, but soon they will find that they cannot receive the mail (you can send it) this is against morality: We still have good rules, huh, huh.

Before we finish, select "advanced" and do not modify the items in this window (serious consequences @ _ @). Let's look at the "Account" tab, I will explain the following content:

"Authorization required for account application" is mainly used to manage user account application. If this setting is selected, you can apply for an account but cannot activate it immediately. The Administrator must modify the account settings to activate this email account. ##### No.

The "Default mailbox size" is used to set the default mailbox size for new users. ##### I personally like it. We recommend that you do not change it to 2 m if it is too large.

If you select this setting, you can enter only the user account and do not need to enter the domain name to send emails to the local user. ##### Hook up to make it easier.

"Allow users to apply for an account through the web page" is used to set whether to open the web interface (with content such as applying for a new user, logging on to the mailbox, sending and receiving emails) #### depending on your needs, we also choose.

"All emails are copied to this email address" is used to set whether to save all emails sent and received through CMailServer to the specified local mailbox. It can be used for mail backup. ##### Forget it. Of course, it can also be hooked.

"Automatically receive POP3 mail" can be used to set whether the server automatically receives POP3 mails set by the user and the time interval between receiving mails. ##### No hooks, or a little longer.

Then go to the "other" option page. Language selection ...... Let's not talk about it. When Windows is started, we choose to minimize it. When Windows is started, the server starts and is minimized in the small icon in the system bar. The rest will not be changed. Confirm again.

Then you can add a new account and click "new account ". Account: Fill in the name of your mailbox such as Van (your mailbox is the van@XXXX.vicp.net), password, name: You can enter (will be used as the sender, let the recipient to see), note: Can not fill.

Because it is your own mailbox, of course it is changed to unlimited space. Select "unlimited size". If it is another person's mailbox, you can also modify the mailbox size or unlimited size.

If you are willing to use this mailbox to receive emails from another mailbox, you can fill in the corresponding information in the block of other POP mailboxes.

After filling all the information, click OK.

In the last step, select "set virtual directory" in the "tool" (time is a bit long, not a crash)

You can go to your browser to view your email and enterHttp ://* ** X.vicp.net/mail

Log in and check out :)

For details about modifying other attributes, see the help of the software :)
Port binding (ing) Tutorial
First, I used the Routing and Remote Access configuration for ing. As a result, the website can only be accessed in section 36.

The first step is to ensure that your intranet machine can smoothly connect to the Internet through the so-called proxy server. Here we will not talk much about it.
Let's look at this picture. As for how the proxy server with a public IP address (or the proxy gateway) connects to the Internet (also in the question mark), this is an ISP problem for individual users, I won't talk about it here.
This server has dual-nic, one set IP address is 61.134.36.58 to connect to the Internet, and the other set to 192.168.0.1 to connect to the Intranet. The parameter settings are as follows:

Server

ADP 1 is connected to the Internet. (Enable Internet Connection Sharing in advanced options)
ADP 2 is connected to the Intranet. parameters:
IP: 192.168.0.10
Subnet Mask: 255.255.255.0
Gateway: NULL
DNS: NULL

Enable the DNS service in the DNS console of the server and enable the forwarder to forward the DNS provided by your ISP, that is, the DNS of adp1 (If this option is not set, then the client can only access the Web using IP addresses)

Client (intranet machine settings)
IP: 192.168.0 .*
Subnet Mask: 255.255.255.0
Gateway: 192.168.0.1
DNS: 192.168.0.1

In this case, the client can be connected to the Internet.

I used two machines for testing, one as a server and one as a client without passing through the hub, and directly connected with a network cable.

Step 2: add Port ing so that users on the internet can access the Intranet through your proxy server (proxy gateway.
Here we need a tool. porttunnel.
:
Http://www.steelbytes.com/download/porttunnel_ch.zip
Of course, you can also search for other products on the Internet. This software is currently free of charge.

Install this program on your proxy server (proxy gateway), and then set
The following uses the HTTP service mapped to port 80 of 192.168.0.10 as an example.
Start this program, such

Click "add"

For more information, see.
Name: site name. Enter it at will.
Input Port: This indicates which port of the server is mapped to the machine on the Intranet, as long as the server does not use the port. 36.58 does not enable the HTTP service, so port 80 is available. (Of course, you can also change it to another one, such as 88.
Http ://Proxy gateway IP Address: 88)
Output port: this refers to the port that the Intranet computer provides services. For example, if the Intranet computer provides HTTP Services and uses the default port, enter 80 here; that is, it corresponds to the port in the IIS Site attribute of the Intranet machine. If the FTP service is enabled, enter 21.

Output address: this refers to the Intranet computer to which the port is mapped; that is, the Intranet computer on which the station is built to provide Internet access.

Of course, if it is the Intranet network FTP site, then install the corresponding software such as SERV-U, and then set a different port in porttunnel, similar to building an HTTP site.

It's actually quite easy to know after a try.

======================================

Tutorial on port setting on Win2k Server
The following method is successfully tested on Windows 2000 Server. The port ing function of the Win2000 Server is used.

First professional Method
First, open "Routing and Remote Access" of "Administrative Tools" on the server host. If you do not want to enable the routing function, you can directly jump to the second method.
1. Right-click server (local) and select configure and enable Routing and Remote Access"

2. Select "Internet connection server" and click Next.

3. Select "Set Internet Connection Sharing (ICS)" and proceed to the next step.

4. the routing function is enabled here.

5. Open "Network Address Translation" in "IP Route Selection" and you will find that there is a local connection and local connection 2. Now you need to modify it to directly connect to the local connection 2 of the Internet.

6. Right-click the "local connection 2" attribute and open it to the special port. You can set port ing.

7. Select the UDP protocol (as shown in the figure, the port ing set for the driving Internet cafe itself)

8. Click Add and select this interface. input the outgoing port and enter the desired CS server port. Generally, enter 27015, and enter the IP address of the computer on which you want to create the server on the Intranet.

9. After confirming, the entire setup process is complete. Then you can create a CS server on the Intranet computer with the specified IP address.

You can test driver.bfcn.net: 27015 = f. S = & [Black faction] CS 1.6 serverdriver.bfcn.net: 27016 #2 = f. S = [Black faction] CS 1.5 serverdriver.bfcn.net: 27017 #3 = f. S = [Black faction] CS 1.5 Server

The second method, if you think the above method is too professional, you can use the following simple method:
1. First, right-click the "Network Neighbor" attribute on the desktop

2. Select the "local connection 2" attribute connected to the Internet and check "Enable Internet Connection Sharing for this connection". Then, press set.

3. Click "service" after the Internet Connection Sharing settings menu appears ".

4. You will find that many services are already in it. Ignore it and directly press add.

5. Let's see what we have to do.

6. Add each option as the red letter, and select the UDP option.

7. Finally, you can create a 27015-port CS server on the computer with the IP address 192.168.0.8.

A computer acts as a server and then uses the ADSL modem to dial up the Internet. Instead of using the dial-up and route functions of modem to achieve network sharing, I have tested the built-in port ing function of my "co-Qin" modem, but it fails, so I will not talk about it today. The dial-up software used in the method to be introduced this time is enternet 300. Why should I use this software? The reference to littlefish is "Install the dialing software enternet 300 on the win2kserver of the gateway machine, instead of other dialing software. Because enternet dialing can virtualize the ADSL connection to the NIC connection, then you can use NAT network address translation." After reading the following method, you can use the first method mentioned in the previous article to perform port ing. As the core of Microsoft's network products, Windows 2000 Server/advance server has powerful network management service functions. We can directly use their built-in routing service functions to achieve shared Internet access over the LAN, instead of using the ICS (Internet sharing ). In the ADSL virtual dialing environment, for pppoe programs that use analog 56 K dialing, since pppoe is never a standard dialing, the routing service cannot confirm the dialing port and the device, so we have not successfully debugged it, the enternet series that use analog LAN NICs can be easily implemented. The leased line ADSL is similar to this. First, log on to the server as administrator, and enable route settings, as shown in. After Entering the "Routing and Remote Access" console, we select "configure and enable Routing and Remote Access ",
  
Then go to the Configuration Wizard Page and click Next. in public settings, we should make the server a shared Internet server, so we select "Internet connection server"
  
Then the Wizard will let us decide whether to use a simple ICS (Internet Connection Sharing) or a more powerful Nat Routing Server. (ICS we have already introduced in this topic ).
  
Then, the server will let us set the interface for connecting to the Internet, and select efficient networks P if you use enternet series dialing. p. p. o. E Adapter. If you are using a leased line, select the IP address set for connecting to the adsl isp. Of course, if you use 56k dialing, select // "Create a new request for dialing Internet connection //" and follow the new Wizard to complete the settings, pppoe cannot implement the 56k dialing simulation.
  
Then, the wizard will prompt you to set the DNS address resolution. To access the Internet URL correctly, you can select the DNS address on the Internet.

The Installation Wizard will prompt you That the routing service will provide Nat routing services for users within the LAN address range. Generally, the wizard can automatically detect the LAN address range correctly and click Next to complete the settings.

After completing the settings, we can see the // "Network Address Translation (NAT) //" on the console, which defines the interfaces for internal connections and external connections, check the properties to check whether the correct interface is selected.

After the server is configured, you need to set the clients in the LAN. The setting method is also simple. set both the gateway and DNS to Windows 2000 Server/advance server.

On the client side, we tested multiple network applications such as HTTP, POP3, SMTP, FTP, MSN, ICQ, qq2000, couterstrike, and Diablo II to achieve smooth Internet sharing, when visiting some Chinese websites, HTTP cannot be opened, which can be solved by reducing the MTU value.

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.