Follow me, a still dreaming programmer, sharing high-quality programming blogs every day.
follow us for dream
Reply “Voucher” to get Tencent Cloud and Alibaba Cloud vouchers for free
What is NAS?
NAS literally means Network Attached Storage, but we are now more accustomed to considering NAS as a family or private network resource center. To put it simply, what is NAS for? NAS is a network host that can serve as a media resource management center, photo and video backup center, network device management, or soft router. NAS can significantly enhance the convenience of our family digital media life. Currently, I have two NAS servers set up at home, and I can download movies remotely. All devices within the home LAN can access this resource at high speed, eliminating the need to copy and transfer data using USB drives as before. Additionally, I can install management software on the NAS, allowing me to categorize and display movies.
NAS can be accessed quickly not only within the home but also remotely via internal network penetration tools or services provided by NAS device vendors. Thus, a home NAS device becomes a cloud host. Compared to public clouds, NAS as a private cloud can ensure data security better, and it can be expanded easily by simply replacing hard drives. No more repeated payments to cloud service providers. A one-time investment yields lifelong benefits.
Recommended NAS Devices
NAS devices can be purchased as branded machines or assembled DIY, just like PC hosts. Branded machines not only have stable hardware but also provide supporting software services. These software services are the core of NAS; it can be said that you buy software and get the device for free.
Brand Devices
Currently, the more mainstream NAS manufacturers in the market are Synology, QNAP, and Asustor. Among them, Synology has a high market share due to its comprehensive software services and years of deep cultivation in the home NAS market, making it highly recommended.
DIY
If you choose DIY, in addition to purchasing new devices, you can also integrate idle or outdated hosts. Because the performance requirements for NAS are very low, the performance of what was originally a PC office host is more than sufficient. The key issue is power consumption, as NAS runs 24 hours a day. I recommend another solution; as a scavenger, I often pick up bargains during mining disasters. All mining hosts on the market are very suitable as NAS devices. They have small cases, multiple hard drive slots, and low power consumption.
I personally highly recommend the Snail Starship host, which can be owned for less than 400 yuan. Moreover, by cracking methods, you can install the Synology system, which is equivalent to getting Synology’s software services for free.
Recommended NAS Software
Photo Backup
Movie Management
Setting Up Internal Network Penetration
Currently, there are many methods for internal network penetration. Some use hardware devices, such as the Peanut Shell network box. Others use cloud hosts to set up network forwarding. If you already have a cloud host, I recommend using a software method to achieve it. There is no hardware investment, and the setup is very convenient.
FRP
A useful internal network penetration tool is FRP, which stands for Fast Reverse Proxy. FRP is a high-performance reverse proxy application developed using the Go language, which can help you easily penetrate internal networks and provide services to the external network. FRP supports TCP, UDP, HTTP, HTTPS, and other protocol types, and it supports routing forwarding of web services based on domain names.
FRP Installation
FRP is developed using the Go language and supports multi-platform deployment, including Windows, Linux, MacOS, and ARM. FRP installation is very easy; just download the software package for the corresponding system platform and unzip it to use.
Here, taking Linux as an example, for convenient management, we rename the unzipped directory to frp:
wget https://github.com/fatedier/frp/releases/download/v0.15.1/frp_0.15.1_linux_amd64.tar.gz
tar xzvf frp_0.15.1_linux_amd64.tar.gz
mv frp_0.15.1_linux_amd64 frp
FRP Server Configuration
[common]
bind_port = 7000
FRP Client Configuration
[common]
# server_addr is the public IP of the FRP server
server_addr = 4.3.2.1
# server_port is the port that the FRP server listens on
server_port = 7000
Reply with keywords:
1. Reply “10” to see the 10 most valuable Spring Boot open-source projects
2. Reply “National Flag” to get the national flag avatar tutorial
3. Reply “Ubuntu” to get 100 best Ubuntu apps and Linux tools
4. Reply “idea” to get the latest idea cracking tutorial and cool tricks
5. Reply “ssh” to get the best SSH tool ever, supporting Mac
6. Reply “Voucher” to get Tencent Cloud and Alibaba Cloud vouchers for free
Recommended Reading:
IDEA 2019 Latest Activation Tutorial
I got into Alibaba by relying on these 35 Java code optimization details
SpringCloudAlibaba integrates Sentinel
A CPU high usage issue that caused request timeouts troubleshooting
[Classic Must-See] 14 Practical Database Design Tips
2019 Spring Core Knowledge Points Summary, how much have you mastered?
A Java virtual machine memory model that even beginners can understand
Setting up a document server with Docker + Nginx + Redis
Completely understand Future, Callable, FutureTask, Runnable
Did you encounter a bug because of YYYY-MM-dd yesterday?
How to quickly set up a project to increase your bargaining chips during interviews
Disclaimer:
1. All articles reposted by this public account come from public networks.
2. If there are errors in the source attribution or if it infringes on the rights of the original author, please contact us for removal.
3. Please indicate the original link and author when reposting articles from this public account, otherwise any copyright disputes arising will have nothing to do with this public account.