Close an open port in the settings. How to open ports for the server? Allowing access in the router

IN this review The following will be considered: how to open ports on the router and what must be done before this, as well as why all this is needed.

Router DIR-300 D-Link

Let's say a packet addressed to the router arrives from the Internet. specific port(for example, 8080). This package will be ignored by default. If it is necessary that it be sent to one of the PCs local network– perform port forwarding, or “open a port”.

Before opening a port required by a particular program for its operation, you can check: what if the port is already open? We go to the site “2ip.ru” directly from the local network computer. In the address bar, add: “/check-port/”. And check the required port:

But by performing certain manipulations in the router settings, you can make the port open. Only, in this case, you need to specify the IP of the target computer (therefore, all PCs for which port forwarding is performed on the router must be included in the “IP reservation area”).

Important to know: open the port with a certain value– possible for no more than one PC on the local network. That is, you cannot open one port for two or more computers.

Introduction to Port Forwarding

Typical port values

Information in networks is transmitted in packets. Each packet carries a recipient address and a port value (an “address: port” pair). If the required port is closed on the recipient's side, the packet is simply ignored and disappears from the network.

The ports commonly used are:

  • 20 and 21 – ftp server ports
  • 22 – SSH secure management shell port
  • 80 – http server port (you need a site “in public access" – open port eightieth)
  • 8080 – service port web caching(hard to say what it is)

In some programs (for example, in the DC++ client-server), you can specify the port value directly in the settings. That is, there is no concept of “default port” in these programs. However, the port value must be from a certain range (which is very desirable).

Let's say there is a PC with an FTP server on the local network. Let’s also assume that the user knows the IP address assigned to him by the provider. This ftp server can be made available from external network. For this purpose, they open ports on the router (20th and 21st). The route of incoming packets will look like this:

Route of the packet directed to the ftp server

If so, why do we need “port forwarding”? general outline OK, let's move on to the next chapter.

Algorithm for forwarding in a router

Having received incoming package, the router “looks” at the value of the port to which this packet is addressed. A list of the form “port –> local address: port", and the list is specified by the user himself.

According to the given list, the behavior of the router should be as follows:

  • If given value port is not in the list - the packet is “lost”
  • If there is, then the IP address value in the packet header will be replaced (with the IP of the target computer), and the packet will be sent to the local network

And setting up router ports is creating a list. Each line must contain 3 elements: the value of the port specified in the packet header; IP address of the local PC to which this packet should be sent; new port value (usually it is left the same).

Example. For computer with installed server http (and local IP equal to 192.168.0.112), the list line should contain the values: “80 -> 192.168.0.112: 80”. Everything should be clear here.

Setting up the router

“Reservation” of local IPs

Enabled in the router DHCP server which changes IP addresses local devices(for example, once every 3 hours or more often). To forward a port to a PC with a specific IP, you need to “assign” the IP to this computer.

Opening a port on a router should not remain “temporary”. There is a solution - turn off DHCP. We will do things differently by setting up a “reservation” of IP addresses for the required PCs.

In the web interface TP-Link routers, for example, setting up a reservation is difficult. You need to know the MAC address of the target computer (its network card). On Windows, this can be found by going to the "Status" of the connection (opening the "Support" tab and clicking on "Details").

In the configuration interface, on the “DHCP” -> “Address Reservation” tab, click the “Add New” button:

Address reservation tab

will appear new inset. Let’s indicate the MAC address of the target PC (as well as the IP “assigned” to it):

Address reservation for local PC

Make “Status” – “Enabled”, click “Save”.

It is important to know that we will have to “reserve IP” for each PC to which we will forward a port (at least one).

IN D-Link routers– it’s easier to do the same thing. Go to the “Setup” -> “LAN Setup” tab:

Setting up a local area network (LAN)

We see the “DHCP Client List” block (here – all PCs on the local network). We remember the name “Host Name”, then in the block below we select the required one from the list. Click on the button "<<». IP-адрес

from the middle cell - we assigned it to this PC.

How to open ports through a router will be discussed using D-Link devices as an example (for others everything is very similar).

Configuring port forwarding (“old” interface)

Go to the “Advanced” tab -> “ Port Forwarding", check the box on the left:

Port forwarding tab

Next, the following is done:

  1. You must specify the target PC (Host Name, or just local IP)
  2. Set the protocol to use (for most programs - TCP, you can also create two identical rules for TCP and UDP)
  3. Specify the value of the forwarded port (in the example - “35000”)
  4. We check that the rule is always on (Always On)
  5. Click “Save Settings”

Thus, we looked at how to open a port on the router. In the modern version of the interface, you can specify a “range” of ports (by setting the minimum and maximum numbers). Also, there is an option to “change” the internal value of the port (a packet addressed to port 80 can be forwarded to port 81). Let's look at this in more detail.

Configuring port forwarding (“new” interface)

First of all, in the new version of the D-Link router, you need to enable the firewall. Then, the administrator creates “ Virtual servers»:

Creating Firewall Servers

Click the "Add" button. On the tab that appears, we will create a port forwarding rule:

Forwarding port “23” to PC 192.168.0.100

You need to set “Custom” at the top, then come up with a name for the rule. We are considering how to open ports through the router for packets directed “outside” (and therefore, we select the “WAN” interface). Then everything is standard: select the protocol used (TCP/UDP), indicate the port value (in this case, “internal” is no different from “external”). Finally, indicate the “target” IP address and click “Change”.

Forwarding a port with changing its value

In the IP packet header, you can change, firstly, the recipient address (which is done by the router), and also the port to which the packet is sent. Engage this option It’s simple, just specify the “internal” port (it may differ from the “external” one).

How to forward ports on a router by changing their values ​​is clear from the example in the previous chapter. It is necessary to indicate the value required by the program in the “Internal port” field. If external port is equal to "23", this does not mean that "internal" will only be the same.

Possible difficulties

By opening a port on the router, you can get a negative result (the port will still be unavailable).

This is possible for the following reasons:

  • The local address “reservation” was not performed correctly (which is necessary for each target PC)
  • The 2ip service is useless when the “internal” value of the port is obviously not equal to the “external” (there will be a message “Port closed”)
  • We looked at how to open a port through a router, but it may be blocked by your ISP

At the same time, if the port is not open, there is no need to try to call the provider right away. It is better to try to solve the problem “locally”.

Here we show how to open a port in the classic D-Link interface (which is different from the one discussed - here you can specify “internal” and “external” values):

About ports, and it will clarify the situation.

Everyone has been using simulators for a long time ( local network), after some providers at the beginning of the new decade disconnected all their subscribers from the local network, leaving them only with an Internet connection.

It was from that moment that the popularization began imitators, because without them, it was impossible to play with a neighbor with any toy. And from that moment on, the question about " opening ports"became more popular, and many “pseudo-sysadmins” tried to post up-to-date guidance on how to open ports on their hardware. But not everyone knows what and how to do it correctly.

What is " Open port"? Yes, everything ingenious is simple - any computer on the network has a certain identifier (name, MAC address, IP), so, according to IP a certain packet arrives at the router, but it doesn’t just arrive via IP, and by special channel (port), through which the program sends/receives requests from the external network. According to the standard, this packet will not pass beyond the router, since by default (hereinafter referred to as default), the port on which the program runs is closed, and in order to receive the packet, it must be opened.

What they write on the Internet - you can open ports, regardless of what network equipment is installed - all this is nonsense! Any knowledgeable system administrator will tell you that IPs are divided into two types - " White" And " Grey", and only on one can you open ports to receive "packets" from outside. Grey- this is when IP can move from hand to hand many times (also referred to as dynamic), White- or real (in other words static) can be assigned only for one user, and will not change hands.

It is according to the “White” IP that you should open ports on your equipment. To get your “White” IP you need reverse to your provider, and after that, he will assign an IP to you. This service is paid everywhere, and depending on the region it can range from 50 rubles/month.

Let's say we bought real IP from your provider, and now you need to start setting up. Let's look at the settings for 4 popular router models (ASUS/TP-Link/D-Link/Zyxel):

Setting up an ASUS router


Opening ports on a real (white) IP in an ASUS router

Note: setup was carried out on the equipment ASUS RT-N12 C1 with firmware 3.0.0.4.260 (black interface)

  1. 192.168.1.1 ), with login and password ( admin/admin
  2. In the left menu select " Internet" (or WAN) -> Port Forwarding(or Virtual Server/Port Forwarding)
  3. Enable this option by checking the box next to " Enable port forwarding: Yes".
  4. Choose from ready-made templates specified ports, or enter your own:
    • Service name- you can be anything
    • Port range- you can enter either one port (for example 80) or a range (27000:27099)
    • Local IP
    • End port- just like in “Range”, you need to enter it depending on what you entered first - one or a range.
    • Protocol- TCP/UDP/BOTH /OTHER - select one (TCP/UDP ports select)
  5. After entering the data, click on the plus sign (to the left of the filling form).
  6. And after entering the data, click “Save”.
Note:

Setting up a D-Link router


Opening ports on the real (white) IP in the D-link router

Note: setup is done on the router D-link DIR 615 with white interface of the latest firmware 2.5.20 .

  1. Connect to your router via a browser ( 192.168.0.1 . or in some 192.168.1.1 ), with login and password ( admin/admin). You can find out about this at back side router or in its instructions.
  2. In the left menu select Firewall/Virtual servers.
  3. We choose from ready-made templates, or enter our own (by selecting " Costom"):
    • Service name- you can be anything
    • Protocol- select the desired protocol.
    • External port (initial)
    • Internal port (initial)
    • Internal IP
  4. Apply", and then through " System" - select the item "", and only after that the ports should open.
Note: Interface items and names may differ depending on the model and firmware network equipment(router).

Setting up a TP-Link router


Opening ports on the real (white) IP in the TP-Link router

TP-LINK TL-WR940N / TL-WR941ND with firmware 3.13.31 .

  1. Connect to your router via a browser ( 192.168.0.1/192.168.1.1 ), with login and password ( admin/admin). You can find out about this on the back of the router or in its instructions.
  2. In the left menu select Forwarding (Forwarding) -> Virtual servers (Virtual Server).
  3. After opening the section " Virtual servers"You should see a page with a list of open ports. In order to open the port you need, here you need to click on the “Add new” button and fill out the form:
    • Service port– external port. Here you need to enter the port (or a range of ports separated by a hyphen, for example, 10100-10200)
    • Internal port– an internal port that will be used by programs on your computer.
    • IP address
    • Protocol
    • State (Status) – port status.
  4. After entering the data, you can click " Save" (Save).
Note: The interface items and names may differ depending on the model and firmware of the network equipment (router).

Setting up a ZyXEL router


Opening ports on the real (white) IP in the ZyXEL router

Note: setup is done on the router ZyXEL Keenetic with firmware 2.0 .

  1. Connect to your router via a browser ( 192.168.0.1/192.168.1.1 ), with login and password ( admin/admin or admin/1234). You can find out about this on the back of the router or in its instructions.
  2. In the left menu select "Safety"(in the form of a shield) -> .
  3. After opening the section " Broadcast network addresses(NAT)"Click on the "Add" button and add according to the template:
    • Interface– select the required interface.
      Attention! The Interface field must be entered correctly. Depending on whether your ISP uses authentication (PPPoE, L2TP or PPTP), the meaning of this field may vary. If authorization with the provider is not used, you should always select the Broadband connection (ISP) interface. If your provider uses PPPoE to access the Internet, then you should select the appropriate PPPoE interface.
      If you are given simultaneous access to the provider’s local network and the Internet (Link Duo), you need to select the Broadband connection (ISP) interface to forward a port from the local network, and select a tunnel interface (PPPoE, PPTP or L2TP) to forward a port from the Internet.
    • Protocol– you can specify a protocol from the list of presets that will be used when forwarding the port (in our example, TCP/21 is used – Transmission FTP files). When you select TCP or UDP in the Protocol field, you can
    • TCP/UDP ports- specify the port number or range of ports.
    • Redirect to address- indicate the local IP address of the computer.
  4. After entering the data, you can click " Save".
Note: The interface items and names may differ depending on the model and firmware of the network equipment (router).

Summing up, we can draw the following conclusion - that in order to forward ports and save your nerve cells, it is better to immediately buy from your provider static (white) IP, since on gray - port forwarding will not be possible. If everything was done successfully, then the visibility of the ports can be checked on , or on . From the experiment with routers, I was able to do everything correctly on only three out of four routers (except Zyxel).

Almost all programs that are available on a PC can interact through network protocols. Any such communication occurs through the port. Port(actually it's just a number) is assigned to the program that made the connection when creating the connection.

From point of view information security, the port is a very convenient element for monitoring connections between a computer and outside world(local or global networks). Such control can be achieved using special program, called Firewall. Applications of this type can independently analyze all external connections, so work in manual mode, asking the user for permission to make a particular suspicious connection.

To the operating room Windows system like this protection program built-in starting from XP, and is called - Firewall.

Windows Firewall blocks all external incoming connections, thus protecting your PC from attacks various types from outside. But there may be situations when it is necessary to disable this protection for a specific port - this is necessary to ensure the functionality of some applications that listen for incoming connections. This disabling of protection is called port opening.

First stage

So, Windows Firewall- this is a necessarily included software package included with the system.

To complete our task it is necessary to perform the following sequence of actions:

We have completed several very simple manipulations, all this was the first stage of our work.

Each user should pay attention to the fact that while working with the New Connection Wizard, he will constantly give advice. They touch like further actions, and the overall performance of the created port. Don't ignore them; they contain a lot of useful information.

Second phase

You can proceed to the next step:


We've offered you enough simple version how to open ports on Windows 7. We hope that this process did not cause you any difficulties. If you strictly follow our instructions, there will be no problems.

However, this must be done with extreme caution. After all, operating systems already have a sufficient number of holes for various viruses to penetrate.

Opening ports increases the vulnerability of the system and makes it more susceptible to certain types of attacks and viruses. We recommend that you install an antivirus program on your computer or laptop.

Remember that opening ports should always be done out of necessity. If you no longer need a particular port, for example after uninstalling a program that uses it, close it. Be extremely careful.

Video on the topic

On routers, many people know. But there are often situations when the user does this, but an external check shows that the port is still closed. Some run into this problem and don’t understand what to do next. One common reason is the security system personal computer. The fact is that, having learned how to open ports for a router, a person does only half the job. They also need to be opened in the firewall rules on the computer. Next, we will describe in detail how to open ports on Windows 10 and lower versions of the operating system.

How to get into the firewall settings

These settings are located in the Control Panel, where there is a “System and Security” section. In new versions of the operating system, you can use a desktop element such as search. In it you need to start typing the word “firewall”, and the user will see in the results the required link. Another very quick and convenient method for getting into the settings is to press the Win+R combination. A line will appear in which you should write: “firewall.cpl” and click OK.

How is the computer in the firewall?

In the built-in firewall settings, you need to go to " Extra options", after which a section with parameters will open in the mode increased security. On the left there is a field with rules for incoming connections. You need to open it and create a rule. To do this, in the “Actions” window on the right, click the corresponding item, and the “Wizard for creating a connection rule” will open. The rule type must be selected for the port. Next, the protocol type is selected and the port is specified. As a rule, TCP is chosen as the protocol, and less often - UDP. The port number is also indicated here. How do you know which port to open? Each game and program requires its own specific number. It can be found using search engine. After this, the checkbox is checked to allow the connection, a name is created for the rule, and that’s it. The port is now open. You can check its availability from the outside using the special program PFPortChecker. If the check shows that the port is closed, you can resort to this option: allow the program network activity any type. How to open ports this way? Again you need to go to the settings and create the rule again. But now it is created not for the port, but for the application. In the window that opens, you need to select the program you need access to. The checkbox is checked again to allow the connection, and a name is invented. Now the rule has been created for the program.

If this step did not help, then how can I open more ports? You can try to completely disable the firewall built into the system.

How to disable the firewall?

To disable it, you need to select the item called “Turn on and off” in the settings. A window will open with parameter settings for network types. For each, you need to check the box that disables the firewall. After confirmation, it will become inactive and the operating system will current computer will become completely open to threats from the external network. Therefore, it is recommended to disable the security system either for a short period of time to check for problems related to port availability, or if migrating to a third-party packet filter. And it is highly undesirable to constantly work on the network with the firewall disabled.

How to open ports for the server?

To do this, you need to open the router settings, log in, and then go to the “Firewall” item. Here you select the “Virtual Servers” option. It is worth noting that the names may differ on all routers. A window will open where you need to fill in all the fields in accordance with which server is needed. There is nothing difficult here.

How to open a port in Ubuntu?

It's no secret that Windows is aimed even at inexperienced users. That is why in this system all operations are performed using GUI. In Ubuntu, all operations are carried out using special teams, written on the command line. How to open ports in this system?

The answer may surprise you: not at all. The thing is that here no ports are blocked at all by the default firewall. The user, on the contrary, can block them if he wishes. If somehow the port turns out to be closed, then you can use the Nmap program to check it. It is able to recognize different port states. Thus, the Open state means that the application is ready to receive packets on this port. Filtered means that a filter or firewall is blocking a port on the network. The program cannot determine whether it is open or closed. Closed means that the port is not currently associated with any application, but can be opened at any time. Finally, the Unfiltered state means that the port is responding to the utility's request, but there is no way to determine whether it is open or closed.

If you press the space bar while scanning, the progress will appear.

If the user is closer not to text, but graphics programs, then there is a Zenmap utility that is graphical shell for Nmap. She knows how to build a network map.

Results

Thus, in order to open ports on computers, there are many in various ways. Some are suitable for some operating systems, others for others. The user must decide on the appropriate means, and the operation itself will not take much effort. In addition, it is useful to get to know the work computer equipment in more detail. Such skills will always come in handy.

For some software products to function correctly, certain ports must be opened. Let's establish how this can be done for Windows 7.

Before opening the port, you need to have an idea of ​​why you are performing this procedure and whether it needs to be done at all. After all, this can serve as a source of vulnerability for the computer, especially if the user gives access to unreliable applications. At the same time, some useful software products For optimal performance require the opening of specific ports. For example, for the game Minecraft it is port 25565, and for it it is 80 and 433.

This problem can be solved using built-in Windows tools(Firewall and Command Line settings), and using separate third party programs(eg Skype, Simple Port Forwarding).

But you should remember that if you do not use direct connection to the Internet, and the connection is via a router, then this procedure will bring results only if you open it not only in Windows, but also in the router settings. But we will not consider this option, since, firstly, the router is indirectly related to the operating system, and secondly, the settings of certain brands of routers differ significantly, so describe a certain model it makes no sense.

Now let's look at specific opening methods in more detail.

Method 1: uTorrent

Let's start looking at ways to solve this problem in Windows 7 with a review of actions in third-party programs, in particular in uTorrent app. It must be said right away that this method Suitable only for those users who have a static IP.

  1. Open uTorrent. Click on the menu "Settings". Move by position in the list "Program settings". You can also use a combination of buttons Ctrl+P.
  2. The settings window opens. Move to section "Compound" using the side menu.
  3. In the window that opens, we will be interested in the parameter block "Port Settings". To the region "Incoming connection port" enter the number of the port you need to open. Then click "Apply" And "OK".
  4. After this action, the specified socket (port bound to a specific IP address) must be open. To check this, click on the uTorrent menu "Settings", and then go to the item "Setup Assistant". You can also use a combination Ctrl+G.
  5. The Setup Assistant window opens. Check off the item "Speed ​​Test" can be removed immediately because this block is not needed for the task at hand, and checking it will only take time. We are interested in the block "Net". There must be a check mark next to its name. In field "Port" should be the number that we opened earlier through uTorrent settings. It is pulled into the field automatically. But if for some reason a different number is displayed, then you should change it to the desired option. Next click "Test".
  6. The procedure is running to check whether the socket is open.
  7. After the verification procedure is completed, a message will be displayed in the uTorrent window. If the task is completed successfully, the message will be as follows: "Results: the port is open". If the task cannot be completed, as in the image below, the message will be as follows: . Most likely, the reason for the failure may be that the provider provides you with a dynamic IP rather than a static one. In this case, you will not be able to open the socket via uTorrent. How to do this for dynamic IP addresses other methods will be discussed below.

Method 2: Skype

The next way to solve the problem involves using a program to Skype communication. This option also suitable only for those users to whom the provider has allocated a static IP.


Method 3: "Windows Firewall"

This method involves performing manipulations through “ Windows Firewall", that is, without using third party applications, but only using the resources of the operating system itself. This option is suitable for both users using static IP address, and those using dynamic IP.

  1. To proceed to launch " Windows Firewall", click "Start", then click on "Control Panel".
  2. Next click "System and safety".
  3. After that press "Windows Firewall".

    There are more quick option moving to the desired section, but requiring memorization a certain team. It is carried out using a tool "Run". Call it by clicking Win+R. Enter:

    Click "OK".

  4. Any of these actions will launch the Firewall configuration window. IN side menu click "Extra options".
  5. Now use the side menu to navigate to the section "Rules for incoming connections".
  6. The Inbound Rules Management Tool opens. To open a specific socket, we have to form a new rule. In the side menu, click "Create a rule...".
  7. The rule generation tool is launched. First of all, you need to choose its type. In the block “What type of rule do you want to create?” set the radio button to position "For the port" and click "Further".
  8. Then in the block "Specify the protocol" leave the radio button in position "TCP Protocol". In the block "Specify ports" put the radio button in position . In the field to the right of this parameter, enter the number of the specific port that you are going to activate. Click "Further".
  9. Now you need to specify an action. Set the switch to position "Allow connection". Click "Further".
  10. Then you should specify the type of profiles:
    • Private;
    • Domain;
    • Public.

    There should be a check mark next to each of these items. Click "Further".

  11. In the next window in the field "Name" you need to specify an arbitrary name for the rule being created. In field "Description" You can optionally leave a comment on the rule, but this is not required. After this you can click "Ready".
  12. So the rule for TCP protocol created. But to provide a guarantee correct operation, you also need to create a similar entry for UDP for the same socket. To do this, press again "Create a rule...".
  13. In the window that opens, again set the radio button to the position "For the port". Click "Further".
  14. Now set the radio button to position "UDP Protocol". Below, leaving the radio button in position "Certain local ports» , we set the same number as in the situation described above. Click "Further".
  15. In the new window we leave the existing configuration, that is, the switch should be in the position "Allow connection". Click "Further".
  16. In the next window, again make sure that the checkboxes next to each profile are checked, and click "Further".
  17. At the final step in the field "Name" enter the name of the rule. It must be different from the name that was assigned to the previous rule. Now you should press "Ready".
  18. We have created two rules that will ensure that the selected socket is activated.

Method 4: "Command Line"

You can complete the task using " Command line" It must be activated with administrative rights.


Method 5: Port Forwarding

Let's finish this lesson a description of the method using an application that is specifically designed to perform this task - Simple Port Forwarding. Application the specified program is the only option of all those described, by performing which you can open a socket not only in the OS, but also in the router parameters, and the user does not even have to go into its settings window. Thus, this method is universal for most router models.

  1. After launching Simple Port Forwarding, first of all, for greater convenience of working in this program, you need to change the interface language from English, which is installed by default, to Russian. To do this, click on the field in the lower left corner of the window in which the name of the current program language is indicated. In our case it is "English I English".
  2. A large list opens different languages. Select in it "Russian I Russian".
  3. After this, the application interface will be Russified.
  4. In field "Router IP address" Your router's IP should automatically appear.

    If this does not happen, then you will have to drive it in manually. In the vast majority of cases this will be the following address:

    But it’s still better to make sure it’s correct through "Command line". This time it is not necessary to run this tool with administrative rights, and therefore we will launch it more in a fast way than we considered earlier. Dial Win+R. In the field that opens "Run" enter:

    Click "OK".

    Into the opened window "Command line" enter the expression:

    Click Enter.

    This will display basic connection information. We need the value opposite the parameter "Main gate". This is what should be entered in the field "Router IP address" in the Simple Port Forwarding application window. Window "Command line" We don’t close it yet, since the data displayed in it may be useful to us in the future.

  5. Now you need to find the router through the program interface. Click "Search".
  6. A list with the name opens various models more than 3000 routers. In it you need to find the name of the model to which your computer is connected.

    If you don’t know the model name, then in most cases it can be seen on the router case. You can also find out its name through the browser interface. To do this, enter in address bar any web browser the IP address that we previously determined through "Command line". It is located near the parameter "Main gate". After it is entered into the address bar of the browser, click Enter. The router settings window will open. Depending on its brand, the model name can be viewed either in the window that opens or in the name of the tab.

    After this, find the name of the router in the list provided in the Simple Port Forwarding program and double-click on it.

  7. Then in the program fields "Login" And "Password" standard for specific model router data account. If you previously changed them manually, you should enter the current ones on this moment login and password.
  8. Next, click on the button "Add Entry" ("Add a note") in the form of a sign «+» .
  9. In the window that opens for adding a new socket, click the button "Add special".
  10. Next, a window opens in which you need to specify the parameters of the socket to open. In field "Name" write down any arbitrary name, not exceeding 10 characters in length, by which you will identify this entry. In area "Type" leave the parameter "TCP/UDP". This way we won't have to create a separate entry for each protocol. In area "Start Port" And "Terminal port" Enter the number of the port you are going to open. You can even enter a whole range. In this case, all sockets of the specified number interval will be opened. In field "IP address" The data should be pulled up automatically. Therefore, do not change the existing value.

    But just in case, you can check it. It must correspond to the value that is displayed next to the parameter "IPv4 address" in the window "Command line".

    After everything specified settings produced, click the button in the interface of the Simple Port Forwarding program "Add".

  11. Then, to return to the main program window, close the add port window.
  12. As you can see, the entry we created appeared in the program window. Select it and click "Run".
  13. After this, the socket opening procedure will be performed, after which the following message will be displayed at the end of the report: "Adding complete".
  14. So, the task has been completed. Now you can safely close Simple Port Forwarding and "Command line".

As you can see, there are many ways to open a port, both using built-in Windows tools and using third-party programs. But most of them will only open the socket in the operating system, and opening it in the router settings will have to be done separately. But still there are individual programs, for example Simple Port Forwarding, which will allow the user to cope with both of the tasks mentioned above simultaneously without manual manipulation of the router settings.