Build WebDAV service mobile phone ES file browser remote access

Sometimes we want to access the files in the Synology NAS through mobile devices to meet special needs. We enable the WebDav service in Synology, combine the public network address generated by the cpolar intranet tool, and use the ES file browser on the mobile client. To achieve remote access to NAS files on mobile devices, the steps are described below

1. Install and enable WebDAV

In the Synology package center, we search webdav, find and click to install the package (if it is already installed, you can ignore this step)

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-ILxP0vmw-1692107237774)(https://images.cpolar.com//img/image-20230613154716587.png) ]

Then open webdav, enable http access, here we remember the port number is5005

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-HiVE30Sp-1692107237775)(https://images.cpolar.com//img/image-20230613154955718.png) ]

2. Install cpolar

cpolar Synology suite download address: https://www.cpolar.com/synology-cpolar-suite, download the corresponding version of the suite

20221222170135

To open 套件中心, click 手动安装the button in the upper right corner.

20221117182200

Select the cpolar installation package we downloaded locally.

20221117182209

click 下一步button

20221117182214

Click 同意the button, then click Next

20221117182222

Finally click Finish.

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-b96omPtK-1692107237777)(https://images.cpolar.com//img/image-20230613160618406.png) ]

After the installation is complete, in the external browser, we access the cpolar web management interface through 群辉的局域网ip地址the added port, and then enter the cpolar email account and password to log in9200

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-2qfGKnbg-1692107237777)(https://images.cpolar.com//img/image-20230612165349594.png) ]

3. Configure the public network access address

After successful login, click Tunnel Management on the left dashboard - Create Tunnel:

  • Tunnel name: can be customized, be careful not to duplicate the existing tunnel name
  • protocol: tcp
  • Local address: 5005 (the port number we saw above)
  • Port Type: Temporary Random TCP Port
  • Region: Select China VIP

click创建

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-ujJeYgrE-1692107237778)(https://images.cpolar.com//img/image-20230613171137998.png) ]

Then open the online tunnel list and view the public network connection address of the tcp protocol.

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-hKPHEsks-1692107237778)(https://images.cpolar.com//img/image-20230613171246859.png) ]

4. Public network test connection

Next, we use the public network address to connect, open the ES file browser, and click the upper left corner to open the navigation menu

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-0UufzmmU-1692107237778)(https://images.cpolar.com//img/image-20230613171415975.png) ]

Click FTP under Network

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-viwr32Ny-1692107237778)(https://images.cpolar.com//img/image-20230613171455298.png) ]

Click New in the upper right corner

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-ZfDPThIe-1692107237779)(https://images.cpolar.com//img/image-20230613171535629.png) ]

select the lastwebdav

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-ePydMOsf-1692107237779)(https://images.cpolar.com//img/image-20230613171609222.png) ]

Then enter the public network address we created above, and fill in the port number corresponding to the public network address for the port, then enter the login user name and password of the NAS, and click OK

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-EPlYKvdR-1692107237779)(https://images.cpolar.com//img/image-20230613171752605.png) ]

There is no error prompt, and this interface appears to indicate that the addition is successful.

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-T2NQgBjk-1692107237779)(https://images.cpolar.com//img/image-20230613172306739.png) ]

Click the webdav service we added to open and see the folder of our NAS, and the connection is successful

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-vUdqXrgO-1692107237780)(https://images.cpolar.com//img/image-20230613172356857.png) ]

5. Fixed connection public network address

It should be noted that the above steps use a random temporary tcp port address, and the generated public network address is a random temporary address, which will change randomly within 24 hours. Next, we configure a fixed TCP port address for it, which will not change, and there is no need to modify the address repeatedly every day after setting.

cpolar official website: https://dashboard.cpolar.com/login

Log in to the cpolar official website, click on the reservation on the left, find the reserved tcp address, let's reserve a fixed tcp address for Minecraft:

  • Region: Select China
  • Description: It is a note, which can be customized

click保留

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-WYhyFyzU-1692107237780)(https://images.cpolar.com//img/image-20230613172600297.png) ]

After the address is successfully reserved, the system will generate a corresponding fixed public network address and copy it down

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-1bvelisI-1692107237780)(https://images.cpolar.com//img/image-20230613172618415.png) ]

Enter the cpolar web ui management interface, click on the tunnel management on the left dashboard - tunnel list, find the tcp tunnel we created above, and click on the right编辑

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-DZIr8m5s-1692107237780)(https://images.cpolar.com//img/image-20230613172642392.png) ]

Modify the tunnel information and configure the successfully reserved fixed tcp address into the tunnel

  • Port type: modified to fixed tcp port
  • Reserved tcp address: fill in the address successfully reserved on the official website,

click更新

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-F6lDuuP1-1692107237781)(https://images.cpolar.com//img/image-20230613172719901.png) ]

After the tunnel is successfully updated, click the status on the left dashboard - the list of online tunnels, and you can see that the public network address has been updated to a fixed tcp address.

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-FK8L93dq-1692107237781)(https://images.cpolar.com//img/image-20230613172743312.png) ]

6. Test connection with fixed address

We fixed the connection address above, now we use the fixed public network address to connect to the test, open the ES file browser, find the webdav connection above us, press and hold it, and the edit server appears, click

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-VPzIxYcM-1692107237781)(https://images.cpolar.com//img/image-20230613172939748.png) ]

Change the server address and port to our fixed address and port, then click OK

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-0HOf7Knb-1692107237781)(https://images.cpolar.com//img/image-20230613173127454.png) ]

There is also no error, indicating that the addition is successful

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-MH1sAB0J-1692107237782)(https://images.cpolar.com//img/image-20230613174351097.png) ]

Click to see the folders in our NAS, such a fixed and remote tcp public network address is set up.

[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-aLGq2MCQ-1692107237782)(https://images.cpolar.com//img/image-20230613174453619.png) ]

Reprinted from cpolar pole cloud article: Synology NAS to build WebDAV service mobile phone ES file browser remote access

Guess you like

Origin blog.csdn.net/weixin_74004489/article/details/132307981