How to use Synology NAS’s Audio Station combined with intranet penetration to achieve remote access to the local music library

Article directory

    • The problem this tutorial solves is:
    • After following this tutorial method, the effect achieved is:
    • The environment used for this tutorial:
    • 1 Install audiostation package on Synology system
    • 2 Download the mobile app
    • 3 Intranet penetration, mapping to public network

image-20230920140707113

Many old people want to listen to their favorite songs or cross talk to relieve their boredom on the way to work, so they open the Mouya software and a certain music software on their mobile phones and click on it:

image-20230920134832853
image-20230920135500146

However, the current mobile entertainment software advertisements are very annoying. You will click in without realizing it and it is difficult to exit. Even if you sign up as a member, you still have to watch advertisements. All kinds of marketing terms make veterans lose money and cannot eliminate the disaster. So how to solve it? What about this problem?

image-20230920140005744

The problem solved in this tutorial is:

How can you use your mobile phone outdoors to listen to music files downloaded to your computer at home without rogue software?

After following this tutorial, the effect achieved is

In public network environment (connecting to other LAN/traffic), using mobile terminal (ios, Android, ipad, etc.) can read stored at home through Synology audiostation Audio files on your computer’s hard drive (mp3 and other formats).

The environment used for this tutorial:

First of all, this tutorial is based on the Synology ecosystem, so you need to install and configure Black Synology or already have a genuine Synology NAS

For those who have purchased genuine Synology NAS, please move to Chapter 2:

I don’t have Synology’s Newbie/Bai whoring party, but I have One-click installation of Synology virtual machine and Intranet penetration. The tutorial is as follows:

How can school students use black Synology virtual machines and intranet penetration to achieve public network access to massive resources? (Exclusively for beginners) – cpolar JiDianCloud

If you have purchased genuine Synology but are not satisfied with the quickconnect bandwidth, you can use professional intranet penetration software to quickly read resources in the LAN. How to For details on installing intranet penetration software in Synology systems, see:

How to install cpolar in Synology system (Synology version 7.X) – cpolar Jidianyun

1 Install audiostation package on Synology system

After following the above tutorial to open the Synology virtual machine/using genuine Synology:

Open Package Center:

image-20230912100519972

Search and install audiostation:

image-20230919175543261

After installation, open filesation:

image-20230919175842022

Synology system automatically creates the music folder

image-20230919175937172

At this point we import the local audio files into the music folder:

image-20230919175951322

After uploading, click **All Music** to display the audio files we uploaded

image-20230920095131080

Double click to play:

image-20230920095159769

2 Download the mobile app

If you want to access it outdoors, you need to download Synology’s mobile software:

Download DSaudio in the App Store

Screenshot_20230920-095529_Google Play Store

After opening, enter the login page:

Screenshot_20230920-095550_DS audio

enter:

  1. Synology’s local IP
  2. Synology account
  3. Synology password

Screenshot_20230920-101234_DS audio

Click Playlist

Screenshot_20230920-101413_DS audio
Screenshot_20230920-101435_DS audio

Successfully loaded the audio file we uploaded:

Screenshot_20230920-101452_DS audio

Double-click to play

Screenshot_20230920-101545_DS audio

3 Intranet penetration, mapping to public network

If you want to access local resources outdoors, you need intranet penetration software. Here we can use cpolar, which is free and has unlimited traffic. For how to install cpolar, please refer to:

How to install cpolar in Synology system (Synology version 7.X) – cpolar Jidianyun

After the installation is complete, open the cpolar package and click on the LAN address 9200 in the lower right corner:

image-20230919133650364

The default browser will open the cpolar webui interface:

image-20230919133714878

After logging in, click Tunnel Management – Create Tunnel on the left dashboard. Let’s create a tunnel for mapping the NAS LAN address to the public network.

  • Tunnel name: You can customize the name. Be careful not to duplicate the existing tunnel name.
  • Protocol: Select NAS Synology
  • Local address: 5000
  • Domain name type: random domain name
  • Region: Select China (for the free version, select China, and for the paid version, select china vip)

Click Create

The free version of cpolar supports random domain names (changes 24 hours a day, we will explain how to fix the address in Chapter 4);

image-20230919113148847

Next we click on Online Tunnel List:

image-20230919112247942

Copy this public link to the browser:

image-20230919133738225

Open the URL and the mapping is successful:

image-20230919133800080

It should be noted that the above steps use a random temporary 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 port address for it. This address will not change. After setting it, there will be no need to modify the address repeatedly every day.

To configure a fixed public network address, you need to upgrade cpolar to the professional version package or above.

Log in to the cpolar official website, click Reserve on the left, and find the reserved TCP address. Let’s reserve a fixed TCP address for Minecraft:

  • Region: Select US
  • Description: Notes, customizable

Click Keep

image-20230919141329495

Prompt after successful retention:

image-20230919141352734

Back to webui:

http://localhost:9200/#/tunnels/list

Tunnel-edit

image-20230919141707004

Second-level subdomain name

image-20230919141617328

  • Tunnel name: You can customize the name. Be careful not to duplicate the existing tunnel name (we leave it as it is here).
  • Protocol: Select NAS Synology
  • Local address: 5000
  • Domain name type: Second-level subdomain name
  • Region: Select US

Click Create

Or go back to the online tunnel list and copy this fixed public network access address with a second-level subdomain name:

image-20230919142210913

After opening the app, paste the generated fixed public address

Enter the Synology system’s username password

Screenshot_20230920-113749_DS audio

Successful login:

Screenshot_20230920-113821_DS audio

After clicking Playlist, you can see the mp3 files we uploaded:

image-20230920131858551

Click to play:

image-20230920131912513

All the steps to log in to Synology audiostation with a fixed address have been completed. Next, we can listen to the songs and crosstalk stored on the personal computer anytime and anywhere!