Skip to content

Instantly share code, notes, and snippets.

@fuyufjh
Last active December 19, 2022 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fuyufjh/8cb7296e3e0178a57e7004ef5ad712b0 to your computer and use it in GitHub Desktop.
Save fuyufjh/8cb7296e3e0178a57e7004ef5ad712b0 to your computer and use it in GitHub Desktop.
Unblock Netease Music oversea for Quantumult X. No need to set up a proxy server.
# Rewrite HTTPs request headers to add "X-Real-IP: <Any-IP-Addr-From-CN>"
# You may need: https://lite.ip2location.com/china-ip-address-ranges
[rewrite_local]
^https?://(\w+\.)?music\.163\.com/.* url request-header (\r\n)User-Agent: request-header $1X-Real-IP: 111.72.0.1$1User-Agent:
# MITM is required to decrypt the HTTPs traffics of Netease Music App
[mitm]
hostname = *.music.126.net, *.music.163.com
passphrase = <Your_local_MITM_passphrase>
p12 = <Your_local_MITM_cert>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment