Tutorials

▷ How to configure telnet server in windows and access it

Table of contents:

Anonim

Remote connections is one of the most widely used solutions for remote server management. In this article we will see how to configure Telnet server in Windows, such as Windows 7 or Windows server. In this way we can connect from a client computer to manage the configuration of a server both on a local network and externally.

Index of contents

Currently Telnet is not a remote communication protocol used too much for this type of solutions, since much more secure communication protocols such as SSH have appeared. These allow us to establish encrypted connections, much more secure to computer attacks such as spyware than Telnet.

Even so, it could be interesting to use this method for internal LAN networks which are protected from the external action of malicious programs. And thanks to the fact that it is a very easy command to configure and use under Windows systems, it is a good option. This is why today we will see how to configure a Telnet server, and we will see how we can establish a remote connection to it.

Preliminary steps

Before we fully configure the server, we must make sure that the connection between the two computers is possible, that is, that both computers are seen within a network.

To do this is as simple as using the ipconfig command in Windows to find out the IP address of the computer. And then use ping to check the connection.

Know IP address

We can also do this by knowing the name of our computers instead of the IP address. We go to our Windows 7 that will do the server function. We will open command prompt and write

ipconfig

We should look at the line " IPv4 address"

To see the name of the team we will only have to open the start menu and right click on " Team " and click on " Properties ". In the second section, we will look for the team name.

How to change the computer name in Windows

Check connection

Now that we know IP addresses or a computer name, let's test if the computers are visible. For this we open a CMD window on the computer that is going to be a client and write:

ping

We see that all are correctly connected and in communication.

Configure Telnet server in Windows

Leaving the previous tests, we will proceed to configure the Telnet server under a Windows 7 computer. The process is the same for Windows server, as for the activation and configuration of user permissions.

We must also bear in mind that Windows 10 does not have a Telnet server, we can only configure it as a client, and that is what we will do.

How to activate telnet in Windows 10

  • Well, in Windows 7, we open the start menu and go to the control panel. We recommend configuring the view in icons. We must locate the " programs and features " icon. Once inside, click on the option " Activate or deactivate Windows features ".

  • In the new window that opens, we will have to search for " Telnet Server " and activate the corresponding box. Click on " accept " for this feature to be installed.

Optionally, we can also install the Telnet client, in case we want to use it. For this we will activate the box that corresponds to " Telnet Client"

Configure user permissions for Telnet

Now we must configure user permissions on the Telnet server, with this we will allow, when accessing from a client, we can use a user that is on the server to log in to Telnet. This is especially useful for computers working in Active Directory.

  • We go back to the control panel and click on the option of " administrative tools ". Within this, click on " Team administration " In the administration tool, we access the section " Users and local groups " and within this to " Groups ". We will see that there is a group of " Telnet clients "

  • We double click to open the group and click on " Add ". Here we will have to write or search for the users that we want to have permissions to use Telnet. When we write a name, click on " Check names " so that the equipment correctly detects the username.

Start Telnet service

Once this is done, we must go to " administrative tools " again to open the services panel and activate the one corresponding to the telnet server. In this way the team will listen to customers who want to access

  • To do this double click on " Services " In the list of services we must search for " Telnet " and double click to access it Here we will have several options. If we are going to use it little, we will choose “ Manual ” as the start type. If we are going to use it a lot we can make it start with the system choosing " Automatic " After choosing the type of start, click on " Apply " and now click on " Start "

Now everything will be ready for us to access from our client.

Add Telnet to Windows Firewall

Once the telnet server is configured and activated, it is time to configure the Windows Firewall to allow us to make remote connections to it.

Again we go to the control panel and this time we access the option of " Windows Firewall"

Within the configuration window, we will have to click on the option at the top " Allow a program or a feature through Windows Firewall"

A list will appear that to be able to edit it we will have to click on " Change the configuration"

Next we look for the line corresponding to " Telnet ". We will have to activate the “ Domestic ” boxes if we want to access remotely in a LAN network. And the “ Public ” box if we want to access from external networks

In this way the firewall will not be a barrier to deny us access to our server.

Access from a Telnet client

Now we go to the Telnet client and write the following command in the CMD or PowerShell window:

telnet

In our case, " telnet W7 " or " telnet 192.168.2.103 ". In this way, the user and password will be requested. In " Login " we put the name and in " Password " we put the password

In this way we will have accessed the Telnet server.

If we wanted to do it remotely from outside our network, we would have to open port 23 of the router. Although for external remote connections we recommend using SSH and not Telnet, for greater security.

Through these quick steps we can configure Telnet server in Windows.

We also recommend:

For what purpose would you use your Telnet in Windows or another system? If you have had any problem or question or point, leave it in the comments.

Tutorials

Editor's choice

Back to top button