个人使用 |
您所在的位置:网站首页 › 畅享9e解锁教程 › 个人使用 |
🚀个人使用 个人应该如何配置Netflix、Disneyplus、hulu、hbo等流媒体解锁教程 须知修改授权IP、规则、地区需要20-30秒左右时间生效,如果没有办法使用,请检测机器出口是否为IPv6 由于DNS解锁的特殊性,比较推荐的落地搭建方式为X-UI或其他V2ray,Xray一键脚本。 (迈特流媒体支持DOH,仅为授权IP提供服务,如果您是海外环境且固定IP不妨配置浏览器为DOH获取无感体验) 非V2ray相关协议简单方法-直接修改VPS的系统DNSSS SSR Trojan等 由于这些协议本身无法进行DNS分流,请使用如下命令配置DNS: Debian/centos系统 echo -e "nameserver 4.4.4.4(以实际为准)" > /etc/resolv.conf chattr +i /etc/resolv.conf第一行命令是将解锁DNS添加为系统DNS 第二行命令是将DNS文件属性修改为只读(避免被系统复写修改) 移除操作 chattr -i /etc/resolv.conf echo -e "nameserver 8.8.8.8" > /etc/resolv.confubuntu系统 修改DNS vi /etc/systemd/resolved.conf 输入 DNS=4.4.4.4(以实际为准) :wq保存后 systemctl daemon-reload systemctl restart systemd-resolved.service mv /etc/resolv.conf /etc/resolv.conf.bak ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf移除操作 修改DNS vi /etc/systemd/resolved.conf 输入 DNS=8.8.8.8 DNS=1.1.1.1 :wq保存后 systemctl daemon-reload systemctl restart systemd-resolved.service mv /etc/resolv.conf /etc/resolv.conf.bak ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf注意 部分香港CMI屏蔽了UDP 53的查询,我的落地已经开启了TCP53.请在/etc/resolv.conf文件中第一行添加 options use-vcShadowsocks-libev 版本 打开配置文件 默认 /etc/shadowsocks-libev/config.json 修改"nameserver":"4.4.4.4(以实际为准)"SS docker 版本 添加参数 -d "4.4.4.4(以实际为准)" 非V2ray相关协议复杂方法-VPS安装dnsmasq实现DNS解锁分流需要有一定使用基础,此处以debian系统为例 一.安装dnsmasq apt-get -y install dnsmasq二.配置dnsmasq 1.配置文件/etc/dnsmasq.conf vi /etc/dnsmasq.conf server=/netflix.com/4.4.4.4 server=/disneyplus.com/4.4.4.4 ... ... resolv-file=/etc/resolv.dnsmasq.conf 具体需要添加的域名请在TG群发送“域名规则”获取。4.4.4.4以实际DNS为准。2.配置文件/etc/resolv.dnsmasq.conf vi /etc/resolv.dnsmasq.conf nameserver 1.1.1.1 nameserver 8.8.8.83.设置VPS系统DNS,将本机dnsmasq作为系统DNS服务器。参考上面的操作 chattr -i /etc/resolv.conf echo -e "nameserver 127.0.0.1" > /etc/resolv.conf chattr +i /etc/resolv.conf4.重启dnsmasq /etc/init.d/dnsmasq restart四.卸载 apt-get remove dnsmasq chattr -i /etc/resolv.conf chmod 777 /etc/resolv.conf echo -e "nameserver 8.8.8.8" > /etc/resolv.confV2ray相关协议,DNS分流标准配置文件修改要素: 1.开启流量识别 "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] }2.修改出口流量域名分类方式((如果机器带V6但是访问异常可以将“UseIP”改为“UseIPv4”) "outbounds": [ { "protocol": "freedom", "settings": { "domainStrategy":"UseIP" } } ]3.添加DNS分流 "dns": { "servers": [ "1.1.1.1","8.8.8.8", { "address": "4.4.4.4(以实际为准)", "port": 53, "domains": [ "geosite:netflix" ] } ] }*进阶方案 CatStream支持DoH解析,更加安全。 { "servers": [ "1.1.1.1", { "address": "https://dns/dns-query(以实际提供域名地址为准)", "port": 443, "domains": [ "geosite:netflix" ] } ] }一般默认配置文件地址 V2ray /usr/local/etc/v2ray/config.json 修改完成后重启 systemctl restart v2rayXray /usr/local/etc/xray/config.json 修改完成后重启 systemctl restart xray完整配置文件示例(wulabing-Xray脚本):(如果机器带V6但是访问异常可以将“UseIP”改为“UseIPv4”) { "log": { "access": "/var/log/xray/access.log", "error": "/var/log/xray/error.log", "loglevel": "warning" }, "inbounds": [ { "port": 443, "protocol": "vless", "settings": { "clients": [ { "id": "123456-789-123456-45678-12345678", "flow": "xtls-rprx-direct" } ], "decryption": "none", "fallbacks": [ { "dest": 60000, "alpn": "", "xver": 1 }, { "dest": 60001, "alpn": "h2", "xver": 1 } ] }, "streamSettings": { "network": "tcp", "security": "xtls", "xtlsSettings": { "minVersion": "1.2", "certificates": [ { "certificateFile": "/usr/local/etc/xray/self_signed_cert.pem", "keyFile": "/usr/local/etc/xray/self_signed_key.pem" }, { "certificateFile": "/ssl/xray.crt", "keyFile": "/ssl/xray.key" } ] } }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } } ], "outbounds": [ { "protocol": "freedom", "settings": { "domainStrategy": "UseIP" } } ], "dns": { "servers": [ "1.1.1.1","8.8.8.8", { "address": "4.4.4.4", "port": 53, "domains": [ "geosite:netflix" ,"geosite:disney" ] } ] } }其他脚本示例x-uibash 选【2.DNS解锁流媒体】 ——> 选【1.添加】 ——> 输入您的DNS【4.4.4.4】 ——> 默认输入【1】最后更新于5个月前 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |