type
Post
status
Published
date
Nov 24, 2025
slug
summary
DNS劫持, SNI Proxy
tags
开发
工具
category
技术分享
icon
password
这里写文章的前言:
仅技术方面讨论,如有侵权请联系我本人
📝 多地区流媒体/AI解锁
需求
我有一台香港服务器,用来看youtube速度特别快,但我还想看台湾的Netflix, Disney+, 想看日本DMM, 美国的HBO MAX, 使用台湾的openai claude等等

上面图片仅供参考
工作原理
DNS劫持 + SNI代理的组合
- DNS层面:将流媒体域名解析到解锁服务器的IP
- SNI嗅探:服务器识别TLS握手中的SNI(Server Name Indication)字段
- 选择性转发:
- 认证/登录请求 → 转发到解锁地区的服务器
- 视频流量 → 直连或优化路由
- 其他流量 → 正常处理
SNI代理
在支持解锁的机器上搭建
config.json
sni-proxy.service
DNS配置, 劫持需要的域名
安装dnsmasq
解决 systemd-resolved 冲突
resolv.conf 指向dnsmasq
dnsmasq.conf
重启dnsmasq
引用的话语
🤗 总结归纳
总结文章的内容
📎 参考文章
- 一些引用
- 引用文章
有关Notion安装或者使用上的问题,欢迎您在底部评论区留言,一起交流~
- Author:xinsi
- URL:http://preview.tangly1024.com/article/2914a901-8e6c-804a-a3c2-f66280e30f15
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!



