Light NAS construction - Use Micropower to build a private cloud disk, which can be accessed remotely without a public network IP

1 Introduction

As an extension of the concept of cloud storage, private cloud disk is not very novel, but its wide application scenarios and unlimited data access still attract a large number of loyal users. Many users will use various cloud storage software, such as SeaFile, Nextcloud, Resilio Sync, Micropower Sync, etc., to transform their computers into private cloud disks and realize automatic data synchronization. However, this automatic data synchronization will also bring some small troubles, especially some data that does not need to be automatically synchronized will also be transmitted. If you want to access files on your home (LAN) device under public Internet conditions, or set up Welisync on your home (or LAN) device, you need the assistance of intranet penetration software. Today, the author will introduce to you how to use Cpolar Intranet Penetration Tool + Welisync to remotely create a private cloud disk with Welisync software in the LAN, and set up and manage the cloud disk.

2. Welix Synchronization website construction

WeliSync is a domestic cross-platform file synchronization software, which can also be used as a private cloud disk server. With its decentralized design and P2P protocol design, it also becomes the preferred network disk software for collaborative office.

2.1 Download and install Welix Sync

As a relatively well-known file synchronization software, Welix can be downloaded from its official website for software versions suitable for various operating systems. The author uses the Windows operating system, so I choose the Windows version to download.

20230428105201

After the software download is complete, decompress the compressed package and click the verysync.exe file in the folder to easily install the verysync software on the local computer.

20230428105202

20230428105203

The installation process is also very simple, as long as one step is performed according to the software prompts, the installation can be completed. It should be noted that when installing Welix Sync, a Windows Firewall query will pop up, we just choose to allow access.

20230428105204

After the installation is complete, the main software page of Welix will be displayed, where we can select files for synchronization, manage connected devices, and so on.

20230428105205

However, for the sake of safety, it is best to enter the "Settings" page first, and set up a security account for your WeliSync. On the WeliSync settings page, we also need to check the "Allow remote access" field.

20230428105206

2.2 Welix Sync web page test

To ensure that the example synchronization on our local computer has been installed, you can enter it in the address bar of the browser localhost:8886to open the web page of Welix Synchronization. As long as the micro-synch can be displayed normally, it means that the installation is successful.

20230428105207

2.3 Installation and registration of cpolar

After completing the installation of WelixSync on the local computer, you can transfer to the installation of cpolar. Like the installation of Micro-Sync, the installation of cpolar is also simple, we can find 下载the button directly on the official website of cpolar.

cpolar official website: https://www.cpolar.com/

20230428105208

The author uses the Windows operating system, so choose the Windows version to download.

After the download of Cpolar is complete, decompress the downloaded file and double-click the decompressed .msifile to execute the installation program automatically. Then just go all the way Nextto complete the installation.

20230428105210

20230428105211

Because cpolar creates an independent data tunnel for each user, and uses user passwords and token codes to ensure data security, we need to register users before using cpolar. The registration process is very simple, just click on the upper right corner of the cpolar homepage 用户注册, fill in the necessary information on the registration page, and the registration can be completed.

20230428105212

20230428105213

3. Local web publishing

At this point, we have completed the local test of the page and installed the cpolar internal network penetration program. Next, we can use cpolar to create a public Internet address that can connect to the local Welix synchronization page, so that we can use it on the public Internet. Microforce Sync for settings.

3.1 Cpolar cloud settings

Since the data tunnel of the free version of cpolar is reset every 24 hours, the author does not want to reconnect the Welix synchronization page every day, so the author upgrades his cpolar to the vip version in order to obtain long-term stable intranet penetration data tunnel.

Next, we can start to penetrate the intranet and synchronize the local Weili to penetrate the intranet. To establish an intranet penetration tunnel that can exist stably for a long time, you need to log in to cpolar's official website, find the "Reserve" button on the left side of the user's main page, and click to enter cpolar's data tunnel reservation page.

A public Internet address is generated here (it can also be regarded as the entrance of the data tunnel). Since this address is not connected to the local software output port at this time, it can also be regarded as a blank data tunnel.

20230428105214

On the reservation page, you can see many kinds of data tunnels that can be reserved. Here we select 保留二级子域名the field.

20230428105215

In the field of "Reserve the second-level subdomain name", several simple information settings need to be made, namely

  • 地区(The area where the server is located, just choose the nearest one)
  • 二级域名(will eventually appear in the generated public Internet address as one of the identifiers of the network address)
  • 描述(It can be regarded as the description of this data tunnel, which can be distinguished from other tunnels).

After completing these settings, you can click 保留the button on the right to keep this data tunnel.

20230428105216

Of course, if this data tunnel is no longer intended to be used, you can click the "x" on the right to delete it easily, saving valuable tunnel quota.

20230428105217

3.2 Cpolar Local Settings

After completing the setting of cpolar cloud and keeping the blank data tunnel, we go back to the local cpolar client and connect the blank data tunnel generated in the cloud with the local Welix synchronization page, so that we can access the Welix synchronization page on the public Internet .

Open and log in the cpolar client locally (you can directly access it by typing in the browser localhost:9200, or click the shortcut of the cpolar client in the start menu).

20230428105218

Click the button on the left side of the main interface of the client to enter the local tunnel creation page (if you want to create a temporary data tunnel whose address is reset every 24 hours, you can directly set it here instead of setting a blank data tunnel on the cpolar official website) 隧道管理.创建隧道

On this page, several information settings also need to be made, including:

1. 隧道名称– It can be regarded as the comment of the cpolar local tunnel, as long as it is convenient for us to distinguish;
2. 协议– Since Welix Sync is a web page display, so choose the http protocol;
3. 本地地址– The local address is the output port number of Welix Sync page, so Fill in 8886 here;
4. 域名类型– In this example, we have reserved the data tunnel of the second-level subdomain name in the cpolar cloud, so check the "Second-level subdomain name" (if the reserved domain name is a custom domain name, check the Select a custom domain name), and Sub Domainfill in the reserved second-level subdomain name in the next row, which is "verysyncweb" in this example. If you plan to create a temporary data tunnel, just check "Random Domain Name" directly, and the cpolar client will generate the network address by itself;
5. 地区– It is the same as the information reserved in the cpolar cloud, and we can fill it in according to the actual use;

20230428105219

After completing these settings, you can click the "Create" button at the bottom of the page to connect the blank data tunnel on the cpolar cloud with the local Welix synchronization page, which provides us with a data tunnel that can access the local Welix synchronization on the public Internet.

In the "Tunnel List" page under the "Tunnel Management" item, we can manage this data tunnel, including opening, closing or deleting this tunnel, or click the "Edit" button to update the information of this data tunnel. to modify.

20230428105220

4. Public network access test

Finally, we click the button on the left side 状态to 在线隧道列表find the public Internet address of the Welix Sync page, and paste this address into the browser to log in to the local Welix Sync page.

20230428105221

20230428105222

5 Conclusion

As a semi-professional cloud disk software, WeliSync can not only meet our usual cloud storage needs, but also automatically synchronize to corresponding devices after saving files. Such application scenarios can not only be used for sharing photos and videos with friends and relatives , can also be applied in commercial office scenarios, and cooperate with cpolar's internal network to penetrate the data tunnel, allowing us to play the role of micro-force synchronization in a wider range.

Guess you like

Origin blog.csdn.net/2301_76369154/article/details/130572783