Create your permanent IP address. Remote access with dynamic IP or configure Dyndns in Linux

When you need to access your home or work computer via the Internet, use the free NO-IP service.

A modern person, as a rule, have several computers with which he constantly deals. At least, this is a home and working PC. And sometimes it happens that on one of them we forget some very necessary files ...

For myself, I have taken a rule to use the FTP server to store important data. However, its presence is usually associated with the need to have a registered domain and hosting, which is not for everyone to pocket. Fortunately, you can install the FTP server on any computer, but then you can stand the question of access to it from the Internet.

Principle of DDNS

Previously, when the entry into the network was the privilege of a few, providers, most often, issued to subscribers so-called subscribers static IP Addresses. They were always "tied" to a specific computer and allowed, if necessary, access the PC from the Internet (it was from this thor of the popular threat to "calculate on ip").

Today providers redeem a certain range of addresses and randomly give them to users. Now your IP you have, in five minutes it can be from any petition or wasi, and another ten from Masha or Dasha :) Such a phenomenon is called dynamic IP. And it eliminates the possibility of direct access to your PC, as the external address of the gateway can belong to anyone from the network of your provider.

It would seem that with such a situation get access to your computer via the Internet will not work. However, to overcome this inconvenience in the late 90s, services dynamic DNS. (DDNS), which, using the client program, created a private unique identifier for a computer to bypass IP addressing and this identifier associated with a specific domain name.

DDNS registers its DDNS domains on most worldwide DNS servers that support addressing on the Internet. Thus, if we enter a unique address issued by the DDNS service, the query goes immediately to the global DNS, then it is redirected to the service, and the one, in turn, gives it an actually not your IP on request, and your own identifier associated with your PC. Accordingly, we get remote access to the local server installed on your computer:

DDNS services There are quite a lot, however, only some of them have support from the developers of equipment for accessing the Internet (modems, routers, etc.). One of those, which, moreover, has free features, belongs No-ip. .

Registration on no-ip

The NO-IP service has existed since 1999 and was one of the first to begin to provide DDNS services on the World Wide Network. To date, the company also provides a number of related services (registration of domain names, sale of SSL certificates, postal mailings, etc.), however, the dynamic DNS remains its main direction. Moreover, unlike other authoritative DDNS services (as, for example, Dyndns), NO-IP has kept, albeit a slightly limited, but free tariff plan.

Before registering with NO-IP, you need to make sure whether your router supports the dynamic DNS function. You can do this by entering on the Internet the corresponding request with the model of your device on the Internet, or by entering its settings through the Web interface (usually at 192.168.0.1 or 192.168.1.1). As a rule, in the settings menu, you can detect partitions with the names "Dynamic DNS", "DDNS", "Dynamic DNS" or "DynDNS". If such a partition is, log in and make sure that the NO-IP service support is available:

If the service is available in the list of available DDNS of your device, consider that you are lucky and you can successfully use no-ip. To do this, you need to go through an easy registration procedure by filling out a special form:

Despite the fact that the form in English, I think there will be no special problems with its filling. In the first three fields, we need to consistently specify your e-mail (a letter with reference to the registration confirmation), password to access the account and the desired domain name with the choice of one of the available domain zones (I liked DDNS.NET). If you have not yet decided about the future domain, you can not fill the third field, but instead, mark the checkbox "Create My HostName Later".

Next, there will be a comparative signboard of the free and paid account that is not particularly needed to us, and under it there is a checkbox confirming our agreement with the terms of use of the service to be noted (Terms of Service and Privacy Policy). After all these simple actions, we click down at the bottom right button "Free Sign Up" (Not green!), We get an email to the specified mail with reference and activate your account with the transition according to it.

account settings

You will appear the main section of the management panel of the service. "Dashboard":

From here you can quickly get data about your current resources used, references to programs and tools for testing the connection. We will return to the last, and the first thing we will ask for a notice to ask the username and secret question in the settings to access the NO-IP. Click on notification or go through the left menu in the section "Account" - "Account info":

Add login is not shorter than 6 characters and in the drop-down list below select your version of the secret question. I stopped at the first - "What Is Your Fathers Middle Name?", That is, actually "the patronymic of your father." Fit in the field next to the answer to the selected question and at the very bottom click "Save" button. Fill out the data about yourself in the "Personal Info" block not necessarily!

In principle, it is quite enough to start the settings. You will have to look into the control panel in the future, we will have at least once a month to manually re-activate our domain tied to our PC. On the need for you will come to mail, but you can, without waiting for it, go to the section "MY SERVICES" - "Renewal Management" And click there "Renew" buttonTo extend registration for 30 days:

Installing a client

So that no-ip can regularly associate your computer with the domain name you are registered, you need to install a special client program. Therefore, the last log in the control panel will visit the menu partition "Dynamic DNS" - "Dynamic Update Client":

Here you choose the version of the client, respectively, your operating system and click the "Download DUC" button. You can also watch a video client video, but I think it is especially necessary, since it is quite simple to install and manage it. In the prescribed form, the client takes a slightly more than half-scale space on the disk and practically does not consume your PC resources. When you first start, we need to enter a login and password from our account, after which the program window will appear before us:

Ideally, we will not need to customize anything if all three partitions of the main window will have marks in the form of green ticks. Neumbuckle may occur if there are several network cards on your computer. In this case, you need to explicitly specify which DUC should work with which one should work. To do this, go to the menu "File" - "Preferences" And in the window that opens, select from the drop-down list "Network Adapter" the desired "network":

In addition, after such a change in the adapter, if you have further troubleshooting, you must also cancel the automatic remote definition of the network address by setting the switch in the "IP Detection Method" group to "Use the IP of My Local Network Adapter".

On this client settings, you can end and move on to installing the local server to which you will access via the Internet, as well as open access to your PC via DDNS in the control panel of your network device.

NO-IP Setup on TP-Link TD-W8961ND Modem

I recently wrote about mychat local chat very much. I installed it at work and successfully using for several weeks. However, initially I was interested in the question of whether it is possible to connect to the chat server not only from the local network, but also from the Internet.

On the official website about this there are two articles. One of them described the way to connect to the server with a static external IP, but I did not immediately approach this option, since we did not have a dedicated address. In the second article, the situation was closer to mine. There was just described the method of binding to the NO-IP domain name chat server.

However, at the very beginning of the article was a reservation regarding the visibility of the computer on external IP through Network Tools Pencing Service. They say if the service after the ping attempt gives a message "TIMED OUT", you should not even try to configure the visibility of the server via the Internet. Unfortunately, I had such a case. But I still tried to "pierce" with the settings of our modem and everything happened to me! Now I will tell you how ...

At work, my whole local network goes online through a new TP-LINK TD-W8961ND modem. On his example, we will look at everything I did. Naturally, the first step was the search for the function DDNS.which was discovered in the section "ADVANCED SETTINGS". Here I activated Dynamic DNS, chose Noip.com as a provider, introduced a domain name, login, password and saved the whole thing:

But, alas, nothing happened ... at first I sinned to the built-in modem firewall, which could block access to it from the Internet, but it was turned off. As it turned out, the problem was in settings NAT. (Sokre English "Network Address Translation" - "Convert Network Address"). Since, on the local network, several computers go online through a single modem gateway, it just "doesn't know", with some PC to bind the domain name NO-IP! It is necessary to "help".

To do this, we will need to directly indicate in the NAT settings of the computer, on which the server stands, as well as ports through which it transmits data. In MyChat, it is all possible to see the administrator of the server. We go to it, go to the "Server Information" section and here in the "Services" group we see the search IP addresses and ports that you need to open on the side of the modem:

Now we go to the modem settings: "Advanced" - "ADVANCED SETUP" - "NAT" - "Virtual Server". Here we have access to 12 rules for the ports of ports. In the order drop-down list, select the ordinal number of the rules and prescribe the ports open to them for the desired IP address:

To successfully implement access to the chat server from the Internet, it turned out enough of only 4 rules, after which the starting page of MyChat began on the domain name NO-IP! To connect through the client program instead of a local IP server, it is enough to specify a link to the same NO-IP domain.

NO-IP Setup on TP-LINK TL-WR740N router

Inspired by success at work, I decided to register another NO-IP account and "hang" access to files on your home laptop. At home, I will have the Internet on the locomotive of the local provider and as an access point is a fairly common inexpensive Wi-Fi-router TP-LINK TL-WR740N. It also has support for the dynamic DNS service and there are no-ip among providers (see Screenshot in the "Registration to NO-IP" section).

Actually, I successfully filled the NO-IP connection form in the router settings and as a server chose one of the simplest solutions - HFS. This program allows you to quickly and virtually no configuration to create an HTTP server to access files and folders on the local computer. In addition, it initially has support for DDNS services, among which there is no-ip!

To connect No-IP to HFS, you need to translate the program to the expert mode ( "EXPERT MODE") by pressing the F5 key on the keyboard. Then go B. "MENU", find there section "Dynamic DNS Updater" and choose "NO-IP Wizard". The NO-IP Connection Wizard will be launched, where you step by step by entering data from your account and specify a domain:

However, after adding information about my NO-IP account, the server was not yet available, although, in the router parameters, the test connection signaling a successful connection with the service. Remembering the port of ports at work, I decided to search for such settings on the home router and found this in the section "Forwarding" - "Virtual Servers":

Standard port 80, which is used by the HTTP protocol, hardly wanted to be installed for the IP prescribed (wrote that it is busy). Therefore, in the HFS settings, and here I have prescribed an alternative port - 8080. After that, and also after restarting the program, the server finally earned and became accessible via the Internet!

However, it became interesting for me that I still took the 80th port and blocked access to it. I had to rewatch all the settings of the router, but as a result, I still smiled at luck. As it turned out, in the "Security" section was the "Remote Management" section and in it just by default was "scored" the 80th port! It cost me to change it to alternative and restart the router, how access to the port was released. True, I already did not reconfigure anything :)

findings

The NO-IP service can be a real salvation for those who want to have free to accute remote access to their computer or part of its functions. In fact, you can via the Internet contact your PC local host (127.0.0.1), which can "spin" almost any server!

Want how I, organize a chat or a personal "cloud" for storing files. Want to expand a full-fledged website (no-ip allows you to "link" to the account of a real domain), turning your computer into a web server (for example, with Denwer). And you can even create your own gaming server. In short, any server software will be available with no-ip and you can give it access to the Internet without any financial cost!

Try, experiment and share your experience in the comments under the article!

P.S. It is allowed to freely copy and quote this article if you specify an open active reference to the source and maintaining the authorship of Ruslana TRADER.

Good day. Services of dynamic DNS servers are increasingly gaining popularity, as they allow you to tie a domain name to any computer, which greatly facilitates access to or. For a very long time, I wrote the first instruction on this topic, but she was dedicated, in it I described a way to bypass a mandatory paid subscription on the server, with the help of registration on partner service from D-Link, but recently chosen this hole with a banal method, now require regular confirmation The fact that you have D-Link network equipment. I have a TP-LINK router, so my account has already been removed, so now I have finally reached your hands to write about the neighboring project No-ip.com, which provides up to 3 domain names of the third level.

Step-by-step instruction

  1. So, the first thing you need is to register. Therefore, click on the link and fill your data: www.noip.com. After filling out all the data we click on the button FREE SIGN UP.
  2. After completing all registration stages, go to your personal account and go to the tab MANAGE HOSTS.Here we press the orange button Add a host.
  3. Invent and write the name of the host in the field hostName., Then choose the second level domain. Also write your current IP address (). Click the button Add Host
  4. Everything, now it remains only to make that our current IP is automatically updated on the service. For this there are two options: specify your credentials in the router menu or set the NO-IP client. You can always download the latest version of the client on the www.noip.com/download page with its setting you can hardly have problems. I prefer to configure the router in the menu and it looks like this:

Binding a domain name to your computer

As I wrote earlier, if you have a domain name, you can bind it to your computer. To do this, in the DNS editor of your registrar, register CNAME record with the value of your domain obtained on dyn.com.. For example, I made a FTP subdomain .. and in the DNS editor interface Yandex looks like this.

Having a statistical or dynamic IP address, you can access the home server from any point of the planet (if you have access to the Internet).

Why is it generally necessary? It all depends on your needs. Perhaps there is a desire to raise your site on a home machine or organize a gaming server?

Let's imagine that it is worthwhile to organize video surveillance in the office (or in the country) and make it available from the global network. The office receives a gray dynamic address from the provider (today it is 178.7.152.210), then there is a router, which distributes the Internet on the office network. The video server will be the car with the address 192.168.0.3 (Fig. 1)

Domestic network scheme

Immediately I note that, as a rule, access to HTTP - the video surveillance server should have a limited circle of people, so do not forget to pass it out after adjustment.

The first thing to be done is to change the port by which the connection to your server will occur. We put a non-standard value, for example 8090 and remember it.

Second. Since we decided that the video server is a device with an address 192.168.0.3, ensure that this address is invalid. You can do this in several ways, you will not stop here.

Now you need to understand an important thing. The subscriber of the external network (for example 178.7.150.200) can not see your server with the address 192.168.0.3. Not at all. It only uses the external address of your network, namely 178.7.152.210. No matter how many computers were on your network (behind the router), for the outside world they will have address 178.7.152.210. It must be understood once and for all. What is the way out?

The output is quite simple. Since only address 178.7.152.210 is available for the outside world, it means that it needs to be addressed. So that the router redirect the request to exactly our server, he needs to "explain" that the port of 8090 is intended for the machine with the address 192.168.0.3. Thus, the request to our HTTP server from the outside will look like http: // 178.7.152.210:8090 Having received a request, the router will redirect it to our car 192.168.0.3:8090 and we get the desired.

Now let's do it in practice. For example, I use a very popular TP Link VR741N router in other router models everything will be very similar. So, customize port redirection. To do this, go to the web interface of the router, looking for the "Redirection" tab - "Virtual Servers" and click the "Add New" button (Fig. 2)

TP LINK Routher Setup

Fill the lines according to our tasks (port, server address) (Fig. 3)

Protocols can still choose "all", or select the desired one if you know exactly what. That's all! (Fig. 4)

Right now you can try to connect to your server from anywhere in the Internet, typing your address and port as in the example above (http: // 178.7.152.210:8090)

White (statistical) addresses can stop and enjoy access. But the dynamic address may change at any time. What to do? You can, of course, write a script that will periodically check the external address and report changes to you by mail or phone. But the focus of our article is different. We assign a name to our server, and a special service will "link" this name and IP address of our router, no matter how it changed.

I will use the NO-IP service. If you want to follow my instructions, go back to the web interface of the router and find the "Dynamic DNS" tab Check the drop-down list, is it in the firmware support service NO-IP. If there is, as in Fig. five

Now, as you understand, you need to register on the service at http://www.noip.com/ go to the site and click "Sign Up" in the upper right corner of the page. Fill the fields, put a check box in a check box "Create a name later" (as in Fig. 6)

and click the "FREE SIGN UP" button. It is said that the service does not like mailboxes @ Mail.Ru, so I used another to register.

NO-IP host setting

If everything is done correctly, we get into your personal account (Fig. 7)

Now carefully fill the fields (Fig. 9)

  1. Because we have access to the HTTP server, which is port 80 by default, we put the "Port 80" switch
  2. Open the drop-down list and below the NO-IP Free Domains lines select any domain.
  3. Invent any name for our site. It should be unique.
  4. In this line, the service tries to automatically specify your external address. Usually everything happens correctly, but you can double-check with the help of other services.
  5. We specify the port that we need. 8090 in this case.
  6. Click the "Add Host" button at the bottom. If everything is done without errors, we get the following picture (Fig. 10)

Binding a router to NO-IP

The task is practically completed! It remains only to "bind" our router to the created account! To do this, go to the web interface of the router to the "Dynamic DNS" tab and fill the fields using the account data (Fig. 11)

  1. As a service provider, we have already chosen No-ip.com. If not - choose. As a username, I specify a mail that was used for registration.
  2. We specify the password that was used during registration.
  3. Indicate the domain name we came up with so hard
  4. Put a tick "Enable"
  5. Press the "Login" button

That's all! Now everyone who gains a browser in the address bar.

http://videoservert.ddns.net

nO-IP will fall on, the service will instantly redirect the request to my router (port 8090), and the router to the web interface of my video surveillance system.

Let me remind you that the access of foreign one is desirable for each server owner! Do not forget to take action!

Personal accounts for Viewer "s on NoIP (Personal Account). Audio video chat in conference mode. Automatic import of computers from the domain, local network or with noip.

January 4, 2018. Litemanager 4.8 and client for Android, Mac OS and IOS

New version of Litemanager 4.8 with built-in network chat, Noip Jabber. New Mode of operation Teacher, for training tests, collection and distribution of files in educational institutions.

Client LiteManager program for Android, OSX and IOS platforms.

July 06, 2015. Litemanager remote customer support

Program for remote support for Pro / Free Customer Versions in one Distribution. Remote access via the Internet by IP or the connection ID. Remote desktop with support for new Windows 10. Screen demonstration mode allows you to organize an educational process in an educational institution, distance learning. Free for personal or commercial use.

June 06, 2015.

New design of the LiteManager remote access program site, a reference system, an overview of solutions, instructions for using the program, comparative reviews and articles. LiteManager with full support for Linux under Wine, now the program can be run on Linux operating systems.

Setting your personal NOIP

The NoIP application is designed to bind a client version of the Viewer and Server Server ID for ID, the program is provided free of charge and supplied with the Viewer client part. (Setting your personal NOIP - video)

To configure and use your own NOIP in corporate purposes, the application must be launched on a computer with a permanent IP address so that the application was available for connecting from Viewer and Server. If the free version of the program is used, then NOIP must be opened for other users, i.e. Make it free.

We run NOIP from the Start menu or from the directory where the viewer is set. Main window Noip.

On the main tab, you can change the port from the security purposes, and set the maximum number of customer data channels to limit the load on NOIP.

If you want to work through the Free version of Viewer, the NoIP must be made free, open it for other users, check the box to open for other users, specify the NOIP name.

To start Noip, it is enough to click on the main tab Run button.

Now connect the Server remote module to the NOIP, to do this, we will open the connection window on the server on the server and in the options indicate your own NoIP, for this you need to turn off the checkbox to use the shared NOIP and enter the IP and port of your personal NOIP. After that, click Connect.

In the case of a successful connection in statistics, the connected server should appear on the NOIP. For convenience, turn on the display of all connections in statistics, checkbox all connections.

Configure the connection from the Viewer client module. Open the connection window on the ID and in the settings on the Options tab, specify your own NOIP, for this, similar to the connection of the server, remove the checkbox to use the total NOIP and enter the data of your personal NOIP. Turn on the option Do not hide your ID to display id in NOIP statistics, and click OK to save changes.

We enter in the Connections window on ID, server ID and connect by pressing the connection button.

The list of connections will automatically add a new contact.

On the NOIP statistics tab, an entry is displayed on the set connection connection between Viewer and Server.

On the Information tab, you can find general information about the number of connected servers (control connections) and data channels (data connections).
On the Information tab, information about the NOIP license type is still displayed, the license type for work only via Pro version or free to work through Free and Pro Version Viewer.
If noip is not open for other users, then its type will be licensed.

If NOIP is open to other users, its type will be free.

The beginning of the article:

Preface

Since often providers give out a gray ip address, then to our file HTTP server with a global Internet, respectively, access will simply not be. But there are wonderful free services that will help make our gray ip address permanent (white). In this case, we will look at, in my opinion, the easiest and most reliable way to implement our idea, through service no-ip.

Registration on the NO-IP website and the creation of the host

Typing in the browser in the address barnoip.com comes to the main page.

Note. I use the Yandex Browser based Chromium with default settings and I have this button. If you do not have it, try to dig in the browser settings and set off the transfer of the page and words, and maybe something else is connected with the automatic translation ...

We move to the upstream and click "Register".

In the window that appears, we need to come up with and fill out our unique non-repeated name (how you will be on the NO-IP website), enter your email, enter the password and confirm it. The name of your future host can be not inserted, we introduce it later.

After filling the fields, you must put a check mark in the "Create your host later" window. I apologize for the clumsy translation of Google, but as we see, this phrase was transferred to us.

Note. Whether my browser opera is not working like that, or something else, but the check mark in the "Create your host later" window did not appear after clicking the mouse. Be that as it may, we put it there.

After entering the registration data and the host name at the bottom of the page, click the "Free Registration" button.

Open your mailbox and to confirm the registration of clicking on the relevant link.

After that, a window will appear with the notice of the successful activation of the account on the NO-IP.

Registration on the NO-IP server we passed. It is time to create our host. We go to the NO-IP main page and click "log in."

In the window that appears, we start your username and password, and then click the "Log in" button.

So, click the "Add Host" button.

We offer a unique name of the host (come up with the name of the host you need yourself, and that the host has yet been busy anyone) and its ending. On the example, I chose the name of the host fAILOVI-Server And his end no-ip.org.. And in the future, my address will be such http://failovi-server.no-ip.org..

Note. Host ending need to choose any you like from free hosts, below, after the "No-IP Free Domains" expression. Since higher - all hosts paid.

After filling the fields, press the "Add Host" button (Create Host).

Congratulations, you created your host.

Half the case is made. It remains to configure your "experimental" router.

Setting the router for service NO-IP

Note. Since I connect with the Internet, the main TP-LINK TL-WDR4300 router, then the DDNS settings will make it on it (as in the figure below). But, it is not important that you are configured by the DDNS service on the main router or on the "experimental" - everything will work. And you can generally set up and mainly on the "experimental" routers to different registered domain names. If you configure your only router on the OpenWRT firmware, then for you a description of the router setting to the DDNS service will be immediately after that picture ...

To adjust the dynamic DNS on the OpenWRT firmware, you must install the following package.

lUCI-APP-DDNS

After updating the page, the Services tab will appear, and in it the Dynamic DNS tab. Fill the required fields by entering our registration data.

Note. With the main router I have a link on LAN, because I also pointed it in the settings. If you install the WAN connection, then you need to specify the event interface WAN..

After filling the fields, save the settings by clicking "Save and Apply".

Checking access to the file server from the Internet

So, we checked access to our file server over the LAN network in the previous article, check its performance and through the Internet. We introduce our registered to the NO-IP address in the browser and point out the port http://failovi-server.no-ip.org:2221/ - this link worked at the time of writing this article, now it makes no sense to use ...
As you can see - everything works.

And sing songs ...

This configuration of the NO-IP service is completed.


Top.