For Nekos! 🐱
歪门邪道DNS上线
194.34.254.234
仅需把服务器DNS改至此DNS并指定v6出口即可解锁Tiktok,当然不是DNS劫持的解锁而是原生解锁
## 安装Docker
apt-get update
apt-get upgrade
curl -fsSL test.docker.com -o get-docker.sh && sh get-docker.sh

groupadd docker
useradd docker -g docker
usermod -aG docker $USER

## 安装 nodejs
curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash -
apt install -y nodejs

## 复制 dnsproxy
本地:
scp dnsproxy.tar.gz root@remoteip:/root/
远程:
tar xzvf dnsproxy.tar.gz

## 设置
1. 先看 /root/download.js
- 打开后,找到类似 { file: '/root/dnsproxy/elseunlock.conf', include: ['HBO / Max'], dns: '213.218.228.254' } 的一行。
- 把 DNS 改成提供解锁服务的 dns ip。 把 include 里面改成你想要解锁的流媒体服务。具体的流媒体服务名称该怎么写,可以参考 https://raw.githubusercontent.com/1-stream/1stream-public-utils/main/stream.adg.list 中, "# > "后的写法。 例如: ['Tiktok', 'Netflix', 'Disney+', 'HBO / Max' ] 等等。
- 执行 node download.js, 会根据设置生成 /root/dnsproxy/elseunlock.conf
2. dnsproxy
cd /root/dnsproxy/
docker compose up -d
3. 设置系统 DNS
ls -al /etc/resolv.conf
观察下是不是链接,如果是个link文件,则 apt remove resolvconf
编辑 /etc/resolv.conf,内容为:
nameserver 127.0.0.1

最后给这个文件上锁:
chattr +i /etc/resolv.conf
获取苹果收据并申请 TF 的方法

1. 首先得是终身或者年付用户
2. 按照上图步骤获取苹果发的收据邮件🧾
3. 收据截图后到 https://testflight.firecore.com 这里申请 TF ( 名字随意,邮箱不一定非要Apple ID的邮箱,能收到邮件就行 )
4. 通过审核后周六就会收到通过苹果发来的邀请邮件。
version: "2.1"
services:
  mdc:
    image: mdcng/mdc:beta
    container_name: mdc
    environment:
      - PUID=0
      - PGID=0
      - TZ=Asia/Shanghai
      - HTTP_PROXY=http://192.168.3.15:7890
      - HTTPS_PROXY=http://192.168.3.15:7890
    volumes:
      - /vol1/1000/docker/mdc/config:/config # 配置目录,必须
      - /vol1/1000/D1:/D1 # 媒体库,可映射多个
    ports:
      - 9208:9208
    restart: always
#服务器 #搭建 #一条龙
个人自用debian系统开机一条龙
更新
apt-get update && apt-get full-upgrade -y

docker安装:
curl -fsSL https://get.docker.com | bash -s docker

内核调优:
wget https://raw.githubusercontent.com/LucaLin233/Luca_Conf/main/Other/kernel_optimization.sh && chmod +x kernel_optimization.sh && bash kernel_optimization.sh

时区设置:
sudo timedatectl set-timezone Asia/Shanghai

路由测试:
bash -c "$(curl -Ls https://github.com/sjlleo/nexttrace/raw/main/nt_install.sh)"

开启Tuned:

https://t.me/Luca_VPS/177

apt install tuned -y && systemctl enable tuned.service && systemctl start tuned.service


安装 @love4taylor 制作的带bbrv3和tcp-brutal的内核:
https://t.me/Luca_VPS/197

安装nodejs:
curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash -
sudo apt install -y nodejs


开机脚本(来自gpt,涵盖以上内容,并修改ssh端口为9399,如果未安装curl请自行安装):
bash -c "$(curl -fsSL https://raw.githubusercontent.com/LucaLin233/Luca_Conf/main/Other/setup.sh)"

可选:

多功能脚本
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/jklolixxs/jms/main/jms.sh" && chmod 700 /root/jms.sh && /root/jms.sh Bash

安装dnsproxy
https://t.me/Luca_VPS/210

启动代理

开启Swap
https://t.me/Luca_VPS/190

禁用密码登录:
sudo sed -i 's/^#*PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config && sudo systemctl restart sshd

修改vps语言:
apt-get install locales && dpkg-reconfigure locales
看到有人整理了“香港各大ISP骨干网测试ip”,其实用NextTrace的文件批量trace功能,能很方便的实现此用途

快速测试小鸡到香港各ISP路由命令:
curl assets.nxtrace.org/iplist/hkg -Lo hkg.iplist
nexttrace --file hkg.iplist


原贴:
https://www.nodeseek.com/post-112420-1
Back to Top