Through the intranet Synology NAS to achieve remote access [no public network IP]

Through the intranet Synology NAS to achieve remote access [no public network IP]

insert image description here

Modern technology is changing with each passing day, and the electronic devices around us are constantly being updated. Over time, more and more electronic devices are being eliminated. Is it possible to let these electronic devices with not bad performance be left idle? This is obviously not in line with our principle of making the best use of everything. Many players have transformed idle computers into home NAS. However, at this time, the Synology NAS can only be used under the home network and cannot be accessed through the public Internet. Now, we can use the intranet penetration function of cpolar to make the Synology NAS at home accessible on the public Internet.

First of all, we need to know the address of Synology in the intranet. As long as you access Synology from a computer in the LAN, the address in the browser is the address of the Synology NAS in the LAN. We copy this address to prepare for future operations.

img

Since the Synology system provides access to other devices in the form of a browser, we can simply regard the Synology access login page as a webpage, and we can use the webpage provided by cpolar to penetrate the intranet function and publish the Synology login interface to the public Internet, so that we can easily access the Synology NAS in the intranet (such as office or home) environment through the data tunnel established by cpolar anywhere.

First, log in to cpolar's official website, and find the item "Reserved second-level subdomain name" in the "Reserved" page on the left side of the "Dashboard".

img

And make a few simple settings for the intranet penetration tunnel that we intend to keep. In this example, we select "China VIP" for the "Region" option, and fill in "homeNAS (of course, you can also fill in workNAS)" for the second-level domain name. The content filled here can be customized, and the content filled in will be displayed in the generated network address, so it is best to fill in easily identifiable content. The last "Description" space is the description of this tunnel. Here we fill in "Remote Synology"

img

After filling in the content, you can click the "Reserve" button on the right to reserve this tunnel. Just like the tunnel in reality, this data tunnel that can penetrate the intranet has not specified the entrance and exit at this time, so we need to go back to the Synology system and define the exit of this "blank" tunnel to the login page of the Synology NAS.

In the Synology system, we can open cpolar from the "Package Center" (for the method of installing cpolar in the Synology NAS, please refer to our previous article "How to install cpolar in the Synology system" ) .

img

After opening the cpolar client, we select the "Create Tunnel" option under the "Tunnel Management" item to set the "Entrance and Exit" for the blank tunnel we reserved before.

In the "Tunnel Name", we enter "Remote Synology" (we set it as a note of the reserved blank tunnel, which is convenient for identification, and of course you can also enter other content.); "Protocol" we choose "http" protocol; "Local Address" we enter "5000" (5000 is the fixed external connection port of the Synology system); ", then click "China VIP" (can be selected according to the actual use). After completing the above settings, you can click the "Create" button at the bottom of the page to associate the blank tunnel with the local Synology system.

img

After the tunnel is successfully created locally in the Synology system, we can see this "Remote Synology" data tunnel in the two pages of "Tunnel List" and "Online Tunnel List". Among them, on the "Tunnel List" page, we can edit specific tunnels, such as re-editing the tunnel definition content, opening and closing, or deleting specific tunnels. And "Online Tunnel List" can see the public Internet address of a specific tunnel, that is, the "entrance" of the data tunnel.

img

img

In this example, we can find the public Internet address of the local Synology page on the "Online Tunnel List" page (that is, the entrance of the intranet penetration data tunnel), and we can use this address to access the Synology system on the intranet on a remote device for a long time and stably.

img

img

Since the data tunnel generated by cpolar implements the http protocol, we can even enter the address of the internal network penetration data tunnel generated by cpolar on the mobile phone, and access the Synology NAS located on the internal network through the mobile phone, which is convenient for uploading and downloading files.

img

img

From the above introduction, we can see that the internal network penetration data tunnel established by cpolar allows us to easily access the Synology NAS located on the internal network on the public Internet, and perform file upload and download operations. Of course, setting an exclusive intranet penetration data tunnel for Synology NAS is only one of the many powerful functions of cpolar. The data tunnel created by cpolar can also be applied in more scenarios.

Guess you like

Origin blog.csdn.net/2301_77886098/article/details/131836646