1. UnblockNeteaseMusic
2. Characteristics
-
Use Netease Cloud's old chain/QQ/Xiami/Baidu/Kugou/Kuwo/Gomi/JOOX audio source to replace the grayed out song link (only the first four are enabled by default) -
Add X-Real-IP parameters to the request to unlock overseas restrictions, support specifying Netease ECS IP, and support setting upstream HTTP/HTTPS proxy -
Complete traffic proxy function (HTTP/HTTPS), which can be directly used as the system proxy (also supports PAC)
3. Installation
1. Install Nodejs
#Debian/Ubuntu system curl -sL https://deb.nodesource.com/setup_10.x | bash - apt install -y nodejs git #CentOS system curl -sL https://rpm.nodesource.com/setup_10.x | bash - yum install nodejs git -y
2. Run UnblockNeteaseMusic
git clone https://github.com/nondanee/UnblockNeteaseMusic.git cd UnblockNeteaseMusic node app.js
#Modify 4567 by default and adjust it by yourself node app.js -p 4567
node app.js -s
3. Start up automatically
#Modify the ExecStartPre source code path, and then copy it to SSH to run cat > /etc/systemd/system/UnblockNeteaseMusic.service <<EOF [Unit] Description=UnblockNeteaseMusic After=network.target Wants=network.target [Service] Type=simple PIDFile=/var/run/UnblockNeteaseMusic.pid WorkingDirectory=/root/UnblockNeteaseMusic ExecStart=/usr/bin/node app.js RestartPreventExitStatus=23 Restart=always [Install] WantedBy=multi-user.target EOF
systemctl start UnblockNeteaseMusic systemctl enable UnblockNeteaseMusic
#Self modification of paths and commands sed -i '/exit/d' /etc/rc.local echo "cd /root/UnblockNeteaseMusic && node app.js" >> /etc/rc.local
4. Usage
1. Android system:
#Setting method Phone settings>WLAN>Network settings>Advanced options>Proxy Generally, there are two types of proxy settings for Android phones, manual proxy and automatic proxy. Some phones may only have manual proxy, and the general settings are as follows: Manual proxy>Just fill in your server IP and port. Automatic proxy>just fill in your PAC address, address:
http://<Server Name:PORT>/proxy.pac , change to your IP and running port.
2. Windows system:
#Setting method Netease Cloud Client Settings>Tools>Custom Proxy>HTTP Proxy Here you just need to fill in your server IP and port, and save it.
5. Frequently asked questions
1. Firewall settings
#CentOS 6 iptables -I INPUT -p tcp --dport 8080 -j ACCEPT service iptables save service iptables restart #CentOS 7 firewall-cmd --zone=public --add-port=8080/tcp --permanent firewall-cmd --reload
2. Android is used with Xndroid tool
Open Xndroid>click Fqrouter on the left>add personal agent (just fill in the server ip and port)>agent list configuration item (turn off all advanced settings)>agent settings in the upper right corner of the software (only proxy NetEase Cloud music)