Weili private network disk successfully achieves remote access to local computers through cpolar port mapping!

1 Introduction

As an extension of the cloud storage concept, private cloud disks are not very novel, but their wide range of application scenarios and unrestricted data access still attract a large number of loyal users. Many users use various cloud storage software, such as SeaFile, Nextcloud, Resilio Sync, Weili Sync, etc., to transform their computers into private cloud disks and implement automatic data synchronization functions. However, this automatic data synchronization will also cause some minor troubles, especially some data that does not require automatic synchronization will also be transferred. If you want to access files on your home (LAN) device under public Internet conditions, or set up Weili synchronization 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 + Weili synchronization to remotely create a private cloud disk with Weili synchronization software in the LAN, and set up and manage the cloud disk.

2. Weili synchronization website construction

Weili Sync is a domestic cross-platform file synchronization software that can also be used as a private cloud disk server. Its decentralized design and P2P protocol design also make it the preferred network disk software for collaborative office work.

2.1 Weili synchronization download and installation

Weili Sync is a relatively well-known file synchronization software. You can find software versions for various operating systems to download on its official website. The author uses the Windows operating system, so I chose the Windows version to download.

20230428105201

After the software is downloaded, unzip the compressed package and click the verysync.exe file in the folder to easily install the Weili synchronization software on your local computer.

20230428105202

20230428105203

The installation process is also very simple. Just follow the software prompts to complete the installation. It should be noted that when installing Weili Sync, a Windows Firewall question will pop up. We just need to select it to allow access.

20230428105204

After the installation is completed, the main page of the Weili Sync software will be displayed, where we can select file synchronization, manage connected devices, etc.

20230428105205

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

20230428105206

2.2 Weili synchronization web page test

To ensure that the example synchronization on our local computer has been installed, we can enter it in the browser address bar localhost:8886to open the Weili synchronization web page. As long as the micro force synchronization can be displayed normally, the installation is successful.

20230428105207

2.3 Installation and registration of cpolar

After completing the installation of Weili Sync on the local computer, you can move to the installation of cpolar. Like the installation of Weili Sync, the installation of cpolar is equally simple. We can find 下载the button directly on the official website of cpolar.

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

20230428105208

The author is using the Windows operating system, so I chose the Windows version to download.

After the Cpolar download is completed, unzip the downloaded file and double-click the unzipped .msifile to automatically execute the installation program. Then it only takes one step Nextto complete the installation.

20230428105210

20230428105211

Since cpolar will create an independent data tunnel for each user and ensure data security with user password and token code, we need to register the user before using cpolar. The registration process is very simple. Just click on the upper right corner of the cpolar homepage 用户注册and fill in the necessary information on the registration page to complete the registration.

20230428105212

20230428105213

3. Local web page publishing

At this point, we have completed the local test of the page and installed the cpolar intranet penetration program. Next, we can use cpolar to create a public Internet address that can connect to the local Weili synchronization page, so that we can access the local Weili synchronization page on the public Internet. Micro force synchronization to set.

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 micro-synchronization page every day, so I upgraded my cpolar to the VIP version in order to obtain intranet penetration that can be stable for a long time. Data tunnel.

Next, we can start penetrating the intranet and synchronizing local micro-forces 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 home page, and click to enter cpolar's data tunnel reservation page.

A public Internet address is generated here (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 types of data tunnels that can be reserved. Here we select 保留二级子域名the field.

20230428105215

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

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

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

20230428105216

Of course, if you no longer plan to use this data tunnel, you can click the "x" on the right to easily delete it and save valuable tunnel quota.

20230428105217

3.2 Cpolar local settings

After completing the settings on the cpolar cloud and retaining the blank data tunnel, we returned to the local cpolar client and connected the blank data tunnel generated in the cloud with the local Weili synchronization page, so that we can access the Weili synchronization page on the public Internet .

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

20230428105218

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

On this page, you also need to make several information settings, which include:

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 Weili synchronization is a web page display, the http protocol is selected;
3. 本地地址– The local address is the output port number of the Weili synchronization 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 “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 line, which is "verysyncweb" in this example. If you plan to create a temporary data tunnel, just check "Random Domain Name" and let the cpolar client generate the network address on its own;
5. 地区- The same as the information reserved on the cpolar cloud, we can fill it in according to the actual place of 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 Weili synchronization page, which also provides us with a data tunnel that can access the local Weili synchronization on the public Internet.

In the "Tunnel List" page under "Tunnel Management", we can manage this data tunnel, including opening, closing or deleting this tunnel. We can also click the "Edit" button to get the most information about this data tunnel. to modify.

20230428105220

4. Public network access test

Finally, we click the button on the left 状态to 在线隧道列表find the public Internet address of the Weili synchronization page. Paste this address into the browser to log in to the local Weili synchronization page.

20230428105221

20230428105222

5 Conclusion

As a semi-professional cloud disk software, Weili Sync can not only meet our daily cloud storage needs, but also automatically synchronize files to the corresponding devices after saving them. This application scenario can not only be used to share photos and videos with friends and family. , can also be used in commercial office scenarios, and cooperate with cpolar's intranet penetration data tunnel, allowing us to play the role of micro-force synchronization on a larger scale.

Reprinted from cpolar pole cloud article: local computer deploys Weili synchronization private network disk, port mapping realizes remote access

Guess you like

Origin blog.csdn.net/asdssadddd/article/details/133279536