All Projects → myxuchangbin → Dnsmasq_sniproxy_install

myxuchangbin / Dnsmasq_sniproxy_install

One-click Install and Configure Dnsmasq and Sniproxy for CentOS/Debian/Ubuntu

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Dnsmasq sniproxy install

Netflix Proxy
Smart DNS proxy to watch Netflix
Stars: ✭ 3,220 (+525.24%)
Mutual labels:  netflix, dns-server, dnsmasq
Pi Hole
A black hole for Internet advertisements
Stars: ✭ 34,076 (+6516.7%)
Mutual labels:  dns-server, dnsmasq
docker-dns-ad-blocker
A lightweight dnsmasq DNS server to block traffic to known ad servers with optional DNSCrypt support. Supports x86_64 and Raspberry Pi (armhf).
Stars: ✭ 78 (-84.85%)
Mutual labels:  dnsmasq, dns-server
SmartGW
Domain based VPN Gateway/Proxy for all devices
Stars: ✭ 49 (-90.49%)
Mutual labels:  dnsmasq, dns-server
Roguesploit
Powerfull Wi-Fi trap!
Stars: ✭ 262 (-49.13%)
Mutual labels:  dns-server, dnsmasq
Mos Chinadns
一个开箱即用的 DNS 分流器。
Stars: ✭ 320 (-37.86%)
Mutual labels:  dns-server
Smartdns
A local DNS server to obtain the fastest website IP for the best Internet experience, 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验。
Stars: ✭ 4,333 (+741.36%)
Mutual labels:  dns-server
Jsexpert01 Skeleton Ew
Projeto base da JS Expert Week
Stars: ✭ 303 (-41.17%)
Mutual labels:  netflix
Surging
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service gove…
Stars: ✭ 3,088 (+499.61%)
Mutual labels:  dns-server
Blacklist
Curated and well-maintained hostfile to block ads, tracking, cryptomining, and more! Updated regularly. ⚡🔒
Stars: ✭ 492 (-4.47%)
Mutual labels:  dnsmasq
Dnsclient.net
DnsClient.NET is a simple yet very powerful and high performant open source library for the .NET Framework to do DNS lookups
Stars: ✭ 400 (-22.33%)
Mutual labels:  dns-server
Stacker
Stacker - The environment for local web development, ready for use.
Stars: ✭ 356 (-30.87%)
Mutual labels:  dnsmasq
Traktflix
Trakt.tv + Netflix = ❤️
Stars: ✭ 331 (-35.73%)
Mutual labels:  netflix
Gdnsd
Authoritative DNS Server --
Stars: ✭ 370 (-28.16%)
Mutual labels:  dns-server
V2ray Rules Dat
🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,兼容 Shadowsocks-windows、Xray-core、Trojan-Go 和 leaf。Enhanced edition of V2Ray rules dat files, compatible with Xray-core, Shadowsocks-windows, Trojan-Go and leaf.
Stars: ✭ 6,550 (+1171.84%)
Mutual labels:  dnsmasq
Shaman
Small, lightweight, api-driven dns server.
Stars: ✭ 426 (-17.28%)
Mutual labels:  dns-server
Expo Netflix
Netflix UI Clone with React Native & Expo || web support => https://expo-netflix.vercel.app
Stars: ✭ 297 (-42.33%)
Mutual labels:  netflix
Piptool
Add the Picture-in-Picture Functionality to YouTube, Netflix, Plex and other video broadcasting services in macOS Sierra
Stars: ✭ 337 (-34.56%)
Mutual labels:  netflix
Blacklist
Blacklist and Adware Blocking for the Ubiquiti EdgeMax Router
Stars: ✭ 393 (-23.69%)
Mutual labels:  dnsmasq
Neodevhost
The Powerful Friendly Uptodate AD Blocking Hosts 最新强大而友善的去广告
Stars: ✭ 336 (-34.76%)
Mutual labels:  dnsmasq

Dnsmasq SNIproxy One-click Install

脚本说明:

  • 原理简述:使用Dnsmasq的DNS将网站解析劫持到SNI proxy反向代理的页面上。

  • 用途:让无法观看流媒体的VPS可以观看(前提:VPS中要有一个是能观看流媒体的)。

  • 特性:脚本默认解锁Netflix Hulu HBO,如需增删流媒体域名请编辑文件/etc/dnsmasq.d/custom_netflix.conf/etc/sniproxy.conf

  • 脚本支持系统:CentOS6+, Debian8+, Ubuntu16+

    • CentOS6/7/8, Debian8/9/10, Ubuntu16/18 已测试成功
    • 理论上不限虚拟化类型,如有问题请反馈
    • 如果脚本最后显示的IP和实际公网IP不相符,请修改一下文件/etc/sniproxy.conf中的IP地址

脚本用法:

bash dnsmasq_sniproxy.sh [-h] [-i] [-f] [-id] [-is] [-fs] [-u] [-ud] [-us]
  -h , --help                显示帮助信息
  -i , --install             安装 Dnsmasq + SNI Proxy
  -f , --fastinstall         快速安装 Dnsmasq + SNI Proxy
  -id, --installdnsmasq      仅安装 Dnsmasq
  -is, --installsniproxy     仅安装 SNI Proxy
  -fs, --fastinstallsniproxy 快速安装 SNI Proxy
  -u , --uninstall           卸载 Dnsmasq + SNI Proxy
  -ud, --undnsmasq           卸载 Dnsmasq
  -us, --unsniproxy          卸载 SNI Proxy

快速安装(推荐):

wget --no-check-certificate -O dnsmasq_sniproxy.sh https://raw.githubusercontent.com/myxuchangbin/dnsmasq_sniproxy_install/master/dnsmasq_sniproxy.sh && bash dnsmasq_sniproxy.sh -f

普通安装:

wget --no-check-certificate -O dnsmasq_sniproxy.sh https://raw.githubusercontent.com/myxuchangbin/dnsmasq_sniproxy_install/master/dnsmasq_sniproxy.sh && bash dnsmasq_sniproxy.sh -i

卸载方法:

wget --no-check-certificate -O dnsmasq_sniproxy.sh https://raw.githubusercontent.com/myxuchangbin/dnsmasq_sniproxy_install/master/dnsmasq_sniproxy.sh && bash dnsmasq_sniproxy.sh -u

使用方法:

将代理VPS的DNS地址修改为这个主机的IP就可以了,如果不能用,记得只保留一个DNS地址试一下。

防止滥用,建议不要随意公布IP地址,或使用防火墙做好限制工作。

调试排错:

  • 确认sniproxy有效运行

    查看sni状态:systemctl status sniproxy

    如果sni不在运行,检查一下是否有其他服务占用80,443端口,以防端口冲突,先将其他服务更改一下监听端口,查看端口监听:netstat -tlunp|grep 443

  • 确认防火墙放行80,443,53

    调试可直接关闭防火墙 systemctl stop firewalld.service

    阿里云/谷歌云/AWS等运营商安全组端口同样需要放行 可通过其他服务器 telnet vpsip 53 以及 telnet vpsip 443 进行测试

  • 解析域名

    尝试用其他服务器配置完毕dns后,解析域名:nslookup netflix.com 判断IP是否是NETFLIX代理机器IP 如果不存在nslookup命令,CENTOS安装:yum install -y bind-utils DEBIAN安装:apt-get -y install dnsutils


本脚本仅限解锁流媒体使用

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].