Setting up a LAN proxy. What is a proxy? How to set up a proxy server

Suppose we have one machine, let's call it a "server", which has an Internet and maybe a LAN. We want the server and sites from the local area to be available on another machine, let's call it "client". Both machines are running WinXP. What do I need to do?

We insert one more network card into the server. We connect the server and client with a cross cable. We set up a new connection, let's call it "bridge" on the server - LAN connection. We give the network card on the server forcibly (in the TCP / IP properties) the address 172.20.0.1, the mask 255.255.255.0, the main gateway 172.20.0.1. We set up a similar connection on the client, give it the address 172.20.0.2, the mask 255.255.255.0, the main gateway 172.20.0.1. On the client and server, we set the same workgroup name, for example, hackers. After that, both computers should ping each other, i.e. the ping 172.20.0.2 command should succeed from the server, and the ping 172.20.0.1 command should also work successfully from the client. The address number 172.20.something.there.is not important, they can be selected from a wide range available for local networks: 10.0.0.0 - 10.255.255.255, 172.16.0.0 - 172.31.0.0, 192.168.0.0 - 192.168.255.0. You need to choose such addresses so that they are guaranteed to be absent in an existing local network.

Install the Proxy Plus program (http://www.proxyplus.net) on the server with all the default settings. When installing, we say that we want the proxy to run as a server.

We go on the server using a browser to the proxy server management system, i.e. to http://172.20.0.1:4400/ or http://localhost:4400 or http://127.0.0.1:4400 or http://any-ip-server:4400 . Click on the link "Proxy Settings", then in the appeared submenu "Security", then "Secure Clients". In the text field under the text "New client IP:" write down the IP address of the client 172.20.0.2, click "Add".

We create rules for processing the client. Click "Access List", then in the "General" submenu, check the box "Enable Access List:" and click "Save". In the "Objects" submenu, in the "New object name" field, write a name for the new rule, for example "all" (without quotes). In the "New object type" selection list, select "Everything". In the "Parameter" field, write anything, this parameter will not be used, but must be present. Let's write there "chtougodno" (without quotes) and press the "Add object" button. Click the link in the "Rules" menu, type "allow all" (without quotes) in the text field, and click "Save".

In the menu on the left, click "Administrator", in the submenu "Restart" and click the "Restart" button. After a few seconds, the field will be updated and a list of protocols and ports will appear in it.

Now, after rebooting, making sure that the proxy server starts when the server computer starts, we climb on the client. On the client's computer, in the browser properties, you need to set the proxy server address. For Internet Explorer, you need to get into the menu "Tools" - "Internet Options" - "Connection" - "Settings for the local area network (LAN)" - the "LAN Settings" button. Put a tick in the "Use a proxy server ..." field, write http://172.20.0.1 in the address field, write 4480 in the Port field, click OK and OK.

For Mozilla Firefox, you need to go to "Tools" - "Options" - "Advanced" - "Network" - "Connection settings" - "Settings". We select the "Manual proxy configuration" option, in the HTTP Proxy field we write http://172.20.0.1, in the Port field we write 4480, check the "Use this proxy server for all protocols" box, click OK, OK.

After that, all local sites from the client's computer (i.e. things accessible via the http, https, ftp and some others protocols will be available. It's not a fact that local network resources (shared folders) will be available except for the server computer, but if you don't have no local resources other than the client and server, that's okay.Maybe this problem can be solved by configuring routes on the server and client, but I don't know how yet.

We make the Internet available from the client. To do this, on the server in the same proxy server management system, click on the "Dialing" link, in the submenu click on "General". In the "Select connection" field, select the connection name with which the server accesses the Internet, enter the Internet user name and password in the User name and User password fields, respectively. This must be exactly the username and password that your ISP gave you. Click the "Save" button. In the "Auto Dial" submenu, check the "Enable auto dial" checkbox and all the checkboxes for all protocols - http, ftp, etc. Click "Save". This will allow the client, when it requests resources from the internet, to automatically start an internet connection on the server.

In the menu on the left, click "Administrator", in the submenu "Restart" and click the "Restart" button. After a few seconds, the field will be updated and a list of protocols and ports will appear in it. I recommend rebooting just in case.

After that, if the Internet is enabled on the server, any request from the client to the Internet site will be processed in the same way as the server would do. If the Internet was not turned on, it will turn on automatically, for which no additional effort is required from the person sitting in front of the client.

All! The Internet is working. We rejoice!

Proxy Server(from the English proxy - "representative, authorized") - a service in computer networks that allows clients to make indirect requests to other network services. First, the client connects to the proxy server and requests some resource (for example, a file) located on another server. The proxy server then either connects to the specified server and obtains the resource from it, or returns the resource from its own cache (in cases where the proxy has its own cache). In some cases, a client request or server response can be modified by a proxy server for certain purposes. Also, the proxy server allows you to protect the client computer from powerful network attacks.

Most often, proxy servers are used for the following purposes:

  • Providing access from local network computers to the Internet.
  • Data caching: if the same external resources are often accessed, then you can keep a copy of them on the proxy server and issue them on request, thereby reducing the load on the channel to the external network and speeding up the client to receive the requested information.
  • Data compression: The proxy server downloads information from the Internet and transmits the information to the end user in compressed form. Such proxy servers are mainly used to save external traffic.
  • Protection of the local network from external access: for example, you can configure a proxy server so that local computers will access external resources only through it, and external computers will not be able to access local ones at all (they "see" only the proxy server).
  • Restriction of access from the local network to the external: for example, you can block access to certain websites, limit the use of the Internet to some local users, set traffic or bandwidth quotas, filter ads and viruses.
  • Anonymization of access to various resources.

A proxy server will help you connect all the computers in your class or school to the Internet if only one computer has access to the Internet.

If you have the opportunity to set up direct connections of your school computers to the Internet (by specifying all the necessary settings ... see the article), then think about it ... Maybe you should use a proxy server for greater control over access to the Network ?! You will turn on the Internet for students when they need it, and not all the time (otherwise many students abuse the school Internet) ...

There are many different proxy servers. At the moment I am using very simple, convenient and free The Proxomitron. I will introduce you to him.

Installing and configuring The Proxomitron proxy server

The Proxomitron is a universal web filter implemented as a proxy server, which was developed by Scott R. Lemmon at the end of the last century. Its main purpose - the destruction of all kinds of web-advertising (banners) and pop-up blocking.

The settings are for version 2.0.0.14.

Launch the Mozilla Firefox browser. Click Instruments - Settings. In the window that appears Additionally - Network - Tune.

Select "Manually configure proxy connection settings:" and specify the IP address of the computer where you set the proxy server and the port of the proxy server. OK.

Opera is a web browser and Internet software package produced by Opera Software ASA. Developed in 1994 by a group of researchers from the Norwegian company Televerket. Since 1995, the product of Opera Software, formed by the authors of the first version of the browser.

The browser is written in the C++ programming language, has a high speed and is compatible with major web technologies.

A distinctive feature of Opera for a long time was a multi-page interface (a system of tabs in the program window), which subsequently appeared in other browsers, as well as the ability to scale displayed documents (“zooming”).

Opera has expanded the functionality of using the mouse: in addition to the standard navigation methods, so-called “mouse gestures” are provided. The browser security system includes: built-in protection against phishing; additional encoding of the information flow when working with pages containing requests for confidential information; the ability to delete HTTP-Cookies and clear the history of visits with one click of the mouse.

Since 2005, versions of Opera for PC and mobile devices (except Opera Mobile) have been distributed free of charge.

Official site: http://ru.opera.com/. Current browser version at the time of writing 9.5.

Launch the Opera browser.

Click Instruments - Settings. Tab Additionally - Network - Proxy servers.

Select HTTP and enter the IP address of the computer where you set the proxy server and the port of the proxy server. OK.

That's all! In this article, we have learned how to install and configure the Proxomitron proxy server, as well as the most popular browsers Internet Explorer, Mozilla Firefox, Opera to work through this proxy.

Now your school has the Internet on all computers in the local network and it is more controlled by you.

It often happens that you have 2 or more computers at home or at work, one of which has access to the global web. Knowing how to set up a proxy server on Windows 7, we can connect and configure the network so that a computer directly connected to the Internet would distribute network access to other users. The easiest way to implement this idea is on the basis of a proxy server.

In computer technology, a proxy server usually refers to some service or program that allows client computers to make requests to the Internet not directly, but indirectly.

The algorithm of such interaction is simple and ingenious: first of all, the client computer sends a request not directly to the Internet, but to a proxy server, which first of all seeks to check whether such information is in the cache, and only then downloads data from the Internet.

Therefore, using a proxy server, you can not only distribute the Internet to a certain number of client workstations, but also ensure anonymity, save traffic, and protect client computers from external access. So, let's look at setting up Internet access for a client machine where the Windows7 operating system was preinstalled.

First of all, you need to go to the "Control Panel". To do this, click on the "Start" button and select "Control Panel" from the pop-up list. Then select the "Large Icons" sub-item in the view mode to switch the display of control panel icon options to the familiar classic view. Next, find the sub-item "Browser Options" and click on this icon.

Next, a settings window will open in front of us, where you need to click on the "Connections" tab. On this window, we need to select "Network Settings". It remains only to check the box "Proxy server" and enter the address and port of your proxy server.

Of course, in addition to the option to configure a proxy server for the local network, which we discussed above, there is also a proxy server setting that is provided for a modem connection.

For such a setting, we need to know the name of the connection, thanks to which we access the Internet. This may be the name of the USB modem operator.

For such a setting, we do not need to click on "Network Settings", but simply select the modem connection with 1 mouse click, and then click on the "Settings" button. In the next window, we will also be required to enter the proxy server address, as well as the port.

Many users who want to surf the Internet safely are puzzled by the question "How to find out your proxy server?". The importance and non-triviality of the question raised is explained by the appointment of a proxy. Its main task is to hide the user's personal IP by replacing it with another address.

Most often, this service is in demand in the field of SMM, where you need to log in under different accounts on social networks from one computer. This reduces the risk of blocking accounts to zero and does not arouse suspicion on the part of moderators. Sometimes they use . To illustrate the issue raised, remember the cases when you went to a foreign site with the desire to watch a video or use the services, but a warning appeared that viewing was limited for your region. Such situations arise all the time, but due to the lack of knowledge in the question of how to find out your proxy server and port, these problems can seem unsolvable. Moreover, it significantly impoverishes the user's ability to obtain useful information that could be obtained with the appropriate knowledge.

Dedicated proxies are used by many people. The goals can be very different: from individual use and viewing of blocked web resources, to the corporate segment, where the use of a huge number of proxies is considered the norm. But, at the same time, not everyone can find the answer: how to find out the proxy server that is currently being used. Let's try to consider the most effective options with which you can easily find out all the necessary information.

How to find out the proxy server address - the first way

Second way

Figuratively speaking, it is not always necessary to "climb the mountain" to reach the desired destination. Sometimes you need to be smart and tactfully get around the “mountain”. The answer, how to find out the proxy address, can be obtained in the simplest way. All you need is to contact the system administrator who maintains the local network. He will have the competence to look at the proxy and transfer it to you. The difficulty is that not everyone can find out how to contact the system administrator. To solve this problem, we recommend contacting more knowledgeable people. They will tell you where to call to contact the administrator.

Third way

In the control panel of your computer, find and open the "Network Neighborhood" item. In it, click "show network connections" and then "local network connections". Right click on it and select properties. In the window that opens, you need to find the Internet protocol TPC\IP. Again we select "properties". If there is a checkmark next to “automatically obtain an ip address”, then no dedicated proxy is involved, if there are numbers (for example, 10.0.0.20), then this will be the address of the desired proxy.

How to find the proxy port

In addition to the address and password, many users may be interested in the question of how to find out the proxy port. This is another parameter that is used when working with your . As a rule, standard values ​​for the port are used: 8080, 80, etc. Only in rare cases is the value different. The port address can be viewed in a browser by following the steps above. Its value is entered next to the ip address. The working port on which your proxy actually connects must match the declared value in the system or browser settings, otherwise your Internet connection will not work.

The Internet in the local network of any organization is a double-edged weapon: as they say, you both want and prick. On the one hand, it is now almost impossible to work without “communication with the outside world”, and there is a lot of useful information on the global network, on the other hand, connecting to the office Internet network drastically reduces its information security, and negligent employees will not fail to immediately use it " freebie."

Therefore, the decision to include a proxy server in the local network of the enterprise remains the only correct and most economical one - it will perform the functions of a kind of security guard on the way to the global information web.

Practice has shown that free proxies are very slow and not suitable for such purposes. Therefore, we decided to buy a couple of elite proxies on, where the speed of the Internet channel is 100 Mbps.

And in this article we will look at the proxy server settings on a computer with Windows 7, and also touch on the question of how to connect the Internet through a proxy server on the local network.

We’ll make a reservation right away that do-it-yourself proxy installation is considered here, while using all kinds of software for these purposes is the topic of a separate very informative article.

What is a proxy server for?

To begin with, let's briefly consider how a proxy server works, and why this device is needed in a simple local network

So, a proxy server is a set of software that regulates the settings for access to external resources (in the general case, to the global Internet).

Essentially, a proxy server indicates that one of its network connections is external and the other is internal.

At the same time, for the internal connection, it assigns certain access rules to the external connection.

The reverse function of the proxy server is also important for the office: to prevent overly curious hackers from the “outside world” (from the vast expanses of the Internet) from accessing information stored on the local network.

How to use a proxy server?

Using a proxy server is available for static IP addresses (that is, manually registered in the network card settings) from the selected range.

So, if the external network has the address 192.168.X.X, then the internal network should not intersect with it in addressing (for example, 172.16.X.X).

The end device settings are set from the appropriate range: that is, 172.16.0.16 or 172.16.230.175 - the main thing is that the first two pairs of digits match (when using the netmask 255.255.0.0).

How to set the proxy server address?

It is better to immediately determine what the IP address of your proxy server will be (usually 172.16.0.1 is used).

It should be noted here that both the address of the end device and the address of the server itself depend on the selected network mask.

So, the mask 255.255.255.0 will give you only 256 addresses like 172.16.0.X, the mask 255.255.0.0 already provides 65536 addresses like 172.16.X.X, and the mask 255.0.0.0 gives you 16777216 addresses. And the proxy server address can be any of the selected range.

How to set up a proxy server?

Let's make a reservation right away that the use of all kinds of programs developed for the MS Windows family, partially or completely performing server functions, is not the best solution for the office. Ideally, the server is a separate computer and exclusively on a Unix system.

However, here we will consider the "classic" option: setting up a proxy server based on standard Windows functions.

So, to install a local proxy server on your computer (all options are considered for Windows 7):

1. Go: "Start" -> "Control Panel" -> "Network and Sharing Center" ->

2. In the list that appears, select the shortcut to connect to the Internet, right-click on it once and select "Properties"

3. Here in the "Access" tab:

Check the box "Allow other network users to use this computer's Internet connection."
- Next, a system warning may appear that the settings will change - confirm this action;

4. In the "Network" tab, select "Internet Protocol Version 4 (TCP/IP)" and click the "Properties" button

  • - Select "Use the following IP address";
  • - Specify the IP address of the proxy server;
  • - Specify the selected netmask;
  • - Leave the "Main Gateway" field blank;
  • - Click "OK" and again "OK"

On this, the minimum proxy server settings are completed, then, if desired, you can separately set authorization (login / password), content filtering, usage monitoring, and so on (this is additional software).

How to connect to a proxy server?

After setting up the server itself, you must also set up a connection to it on all computers in the local network.

So, to access the proxy server on a computer with Windows 7:

1. Go to: "Start" -> "Control Panel" -> "Network and Sharing Center" -> "Change adapter settings".

2. In the list that appears, select your connection, right-click on it and select "Properties":

In the "Network" tab, select "Internet Protocol Version 4 (TCP/IP)" and click the "Properties" button.
- Select "Use the following IP address".
- Specify the IP address of this computer from the selected range.
- Specify the selected netmask
- In the "Main Gateway" field, enter the IP address of our proxy server

Click "OK" and again "OK"

3. Go to your browser options.

This requires the following data to be set:

Go to: "Connections" -> "Network settings" -> "Use a proxy server for local connections";

Write down the address of your proxy server (leave port 80)

Also, these parameters can be registered through the windows 7 control panel:

Failed to connect to the proxy server: what to do?

Often, when connecting through a proxy server, a connection error occurs (the server refuses to accept the connection).

As a rule, the reason lies either in the communication line itself, or in the installed settings.

The "ping" command will help you check the connection with the server at the physical level. If the line is OK - restart the server (still on MS Windows) and check the settings of both the server itself and the client.