QNAP (QNAP) remote access guide outside the NAS, the application and configuration guidance of the free intranet penetration tool - "cpolar intranet penetration"

foreword

After purchasing QNAP NAS, many users are not familiar with how to remotely access QNAP NAS in an external public network environment, but this is very necessary. Therefore, this tutorial shares how to realize remote access to the QNAP NAS connected to the home intranet, without the need for a public network IP, and without setting up a router, simply through [cpolar intranet penetration] (cpolar - a safe intranet penetration tool ) to fulfill.

1. QNAP installs cpolar intranet penetration

Note: QNAP needs to be an X64 CPU, we can achieve it by installing the docker version

Enter App Centrer, download the container toolcontainer station

20230214155001·

Enter Container Station, then select Create, then search cpolar, find the cpolar image, and click Install

20230214155002

Configure the network during installation, click to open advanced settings

20230214155003

Change the network mode to host, then click create

20230214155004

After creation, you can see the cpolar container in the list

20230214155005

Open the browser and access QNAP ip+:9200, you can access the cpolar web UI management interface, and log in with the cpolar email account

20230214155006

2. Intranet penetration

2.1 Create a tunnel

After cpolar is successfully installed, we can create a tunnel to map the internal network port, and we will get the corresponding public network address, so that we can log in remotely to access the QNAP management interface outside.

The QNAP management interface port is 8080 by default, so let’s create a http protocol tunnel and map the QNAP port 8080. Click Tunnel Management on the left dashboard - Create Tunnel:

  • Tunnel name: can be customized, be careful not to duplicate the existing tunnel name
  • protocol: http
  • Local address: 8080
  • Domain name type: choose a random domain name for free
  • Region: Selected by default

click创建

20230214155007

After the tunnel is successfully created, click on the status on the left - online tunnel list, you can see that the tunnel just created has generated a corresponding public network address, copy it

20230214155008

2.2 Test public network remote access

Copy the public network address and open the browser to access, and the login interface appears to indicate success

20230214155009

3. Configure a fixed second-level subdomain name

Since the address created above is a random address, the address will change within 24 hours. For a better user experience, you can fix the http public network address and configure a fixed second-level subdomain name for it. The address will not change randomly, and the bandwidth will be improved at the same time.

It should be noted that to configure a fixed second-level subdomain name, you need to upgrade cpolar to the basic package or above.

3.1 Reserved second-level subdomains

Open the official website of cpolar ( www.cpolar.com ), log in to the background, click Reserve on the left, and find the reserved second-level subdomain name. Let’s reserve a second-level subdomain name for remote access to QNAP NAS

  • Region: Select China
  • Second-level domain name: customizable
  • Description: Remarks, which can be customized

click保留

20230214155010

After the cpolar second-level subdomain is reserved, we will copy it down

20230214155011

3.2 Configure the second-level subdomain name

Go back to the web ui management interface of QNAP cpolar, click the tunnel management on the left dashboard - tunnel list, find the remote tunnel we just created, click edit on the right

20230214155012

Modify the tunnel information, and configure the successfully reserved second-level subdomain name into the tunnel

  • Domain name type: select a second-level subdomain name
  • Sub Domain: Fill in the reserved second-level sub-domain name, in this examplewlt

click更新

20230214155013

After the tunnel update is successful, then check the online tunnel list. At this time, you can see that the public network address has changed to the second-level subdomain address we set, and then copy the address

20230214155014

4. Use fixed sub-domain name for remote access

Access the fixed second-level subdomain name on the browser, and the login interface will appear to indicate success, and then we can remotely manage our QNAP service, and now the public network address will not change randomly.

20230214155015

Guess you like

Origin blog.csdn.net/weixin_74957752/article/details/132539776