Use proxy servers to share Internet access in the dormitory

Source: Internet
Author: User
Tags ftp site gopher nntp

Preface:

The school is so dark! It costs 1.5 yuan to access the Internet in an hour! It would be much more convenient if the dormitory uses a card! There are many methods! I will only talk about one type today! Create a proxy server to share the internet!
Under Proxy Server
Let everyone's proxy server be ccproxy. The advantage of this proxy server is that you only need to open the software on the server! Other hosts can access the Internet through proxy without running any software!
The setting method is as follows:


Make sure that the LAN connection is smooth and ping each other is successful. There are several precautions for server IP settings. Check the Network Properties of the server to ensure that there are no unnecessary TCP/IP protocols. This is common in Win98, sometimes the system automatically adds a useless dial-up adapter and the corresponding TCP/IP protocol. You need to delete these redundant Nic adapters and the corresponding TCP/IP protocol. If two NICs are installed on the server, you must note that you do not need to set the two NICs in one CIDR block. This will cause route chaos. For example, if one network card is 192.168.0.1 and the other network card is not set to 192.168.0.2, it can be set to 192.168.1.1.

If the LAN is not configured, we recommend that you configure the LAN as follows. Assign the IP address of the LAN machine.
Usually 192.168.0.1, 192.168.0.2, 192.168.0.3 ,... 192.168.0.254, where the server is 192.168.0.1, and other IP addresses are the Client IP addresses. The subnet mask is 255.255.255.0, And the DNS is 192.168.0.1.
For more information about server network settings, see the figure (enable the local connection attribute of the server ).
For network settings of the client, see the figure (enable the local connection attribute of the client). If the IP address is 192.168.0.2, the network settings of other clients are only different from those of the client.

Run the downloaded CCProxy installer on the server. After installation, the Proxy Server CCProxy is automatically run.


If no error message is displayed during startup, the installation is successful. Otherwise, perform the following checks:
A) DNS startup failed
I. Other agent server software is installed on the server. In this case, you need to disable other proxy servers.
Ii. The server is installed with the DNS server that comes with Windows by default. This usually happens on Win2000. Because the DNS server has been automatically installed in Win2000, you do not need to use the CCProxy DNS service, you can cancel the CCProxy DNS proxy: "set"-> cancel "DNS" option.
Iii. If you do not need to use the SOCKS v4 proxy (this is an old proxy protocol that is rarely used), you can cancel the CCProxy DNS proxy: "set"-> cancel "DNS" option. Because only this proxy needs the DNS service.

B) email proxy startup failed
I. If you have installed anti-virus software that prevents Email viruses, it may cause 110 (POP3) port conflict. In this case, you need to disable the mail anti-virus function of this software. Although CCProxy provides the POP3 port modification function, we do not recommend that you do this because it will cause a large number of client programs to modify the port. We recommend that you use the excellent anti-virus software Norton.
Ii. If you have installed other proxy server software, it may cause port conflict between 110 (POP3) and 25 (SMTP. Because some proxy servers may also have the mail proxy function. In this case, you need to stop the mail proxy function in these proxy servers.
Iii. If you have installed a firewall program, it may also cause port conflict. Ports 25 (SMTP), 110 (POP3), 53 (DNS), 80 (HTTP), 8011 (Admin), and 5353 (MX) must be enabled.
Iv. If you have installed the mail server program, it will also cause port conflict. The reason is obvious. The same port is used. You must stop these email servers to make CCProxy run normally.
V. if you can confirm that other software can also complete the mail proxy function (such as CMailServer), you do not have to use the CCProxy email proxy to cancel the mail proxy from the "Settings ".

To test whether other mail-related software is installed on the local machine, run telnet 127.0.0.1 110 or telnet 127.0.0.1 25 in the command line mode, you can see the corresponding prompt information to determine which software is related.

C) An error occurred while starting the news agency service.
I. Other agent server software is installed on the server. In this case, you need to disable other proxy servers.
Ii. Microsoft's NNTP Service is installed on the server, which requires stopping the NNTP Service.
Choose Control Panel> Add/delete Programs> Add/delete windows Components> Internet Information Service (IIS)> NNTP Service. Cancel the NNTP service.

D) An error occurred while starting the SOCKS or HTTP proxy.
This problem occurs mainly because your machine has installed other network-related software, resulting in port conflict.
I. You can try to stop some running software to see if there is any impact.
Ii. Go to the CCProxy settings page and modify the port of the corresponding protocol. Generally, you can add 1 to the original port. For example, if the default port of the SOCKS proxy is 1080, you can try to change it to 1081 to see if there is any conflict.


Other precautions.
A) Check whether other agent server software has been installed on the server. Some default ports are the same and may cause conflicts. We recommend that you uninstall the agent before installing it, because sometimes it is not effective to stop, and some agent server software runs as an NT Service. Similarly, if the client has some agent server software installed, it also needs to be uninstalled; otherwise, communication between the client and the agent server will be affected.
B) Pay attention to the configuration and use of anti-virus software and firewall software on the server. improper use may affect CCProxy access to the Internet and client connection to CCProxy. We recommend that you use the Norton Anti-Virus Software. After our tests and use, CCProxy and Norton can maintain good compatibility.


Default proxy port list
HTTP: 808-used for Browser Internet access
FTP (Web): 808-used to connect a browser to an FTP site
FTP: 2121-used for FTP client software to connect to FTP sites (such as cuteftp)
Gopher: 808-used to connect a browser to a Gopher site
Secure/SSL/HTTPS: 808-used to connect to a Secure site through a browser
RTSP: 808-for realplayer
SOCKS: 1080-used for some network client software (such as QQ and lianzhong)
MMS: 1080-for mediaplayer
News (NNTP): 119-used for connecting outlook to the News Server
SMTP: 25-used for sending emails (such as outlook and foxmail) to the Mail Client)
POP3: 110-used to receive emails (such as outlook and foxmail) from the mail client)
Telnet: 23-used for some Telnet client software, such as (Cterm)


Generally, you only need to enable the HTTP proxy and the SOCK5 proxy.


There is also the account settings! There is a selection part and select all


Select the user name and password option.


In this way, the client can access the Internet through your proxy only when the password is known! Simply put, only those who recognize you can use your machine to access the Internet.


CCProxy settings on the client
 
1. Client settings
A client is a machine that requires Internet access through a proxy and must be connected to a server through a LAN. The client can be a Windows 98/Me or Windows 2000/NT operating system. You do not need to install CCProxy on the client, but you also need to set TCP/IP first. On the same server, enable TCP/IP Settings:
[IP address]
IP Address: Enter 192.168.0.2. Note that the IP address cannot be the same as that of the server computer. If there is more than one client, the IP addresses of each client cannot be repeated, for example, 192.168.0.3; 192.168.0.4 .........
Subnet Mask: 255.255.255.0
[Gateway]
Enter the Server IP address in the new network, for example, 192.168.0.1.
After entering the information, click [add].
[DNS]
Select Enable DNS, enter the name of the server computer in the host, enter the name of the Working Group in the domain, and enter "Server IP Address" in the DNS server search order ". For example: 192.168.0.1, domain suffix search order, leave it empty.

After the settings are complete, click [OK] and restart the computer.


2. Software settings on the client
Set Internet Explorer proxy Properties
To proxy Internet access, you must first set the IE attribute: open [Control Panel]-[Internet]-[connection]-[LAN Settings], and click the box before [use proxy server, select-[advanced]-[proxy server settings].
Fill in "server address" in [HTTP (H)], for example, 192.168.0.1, port 808;
Fill in "server address" in [SOCKS (C)], for example, 192.168.0.1, port 1080;
Others are empty.
Set the client's QQ to implement QQ on the client. When applying for or logging on to the client, select the Internet type in the network settings as "LAN access to the Internet ", click the box before [use PROXY SOCKET5 firewall,
Fill in "server address" in [firewall address], for example, 192.168.0.1, port 1080,
Click [next.

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.