有没有一键搭建DNS解锁小鸡的脚本,想自己拿个解锁机搭建一个DNS解锁小鸡,搭出来可以分享给坛友们使用。
自己弄个SNIProxy 然后目标机器上用dnsmsq把要解锁的域名指向机器就行(?)
想求个简单的一键脚本
找到一个SNIProxy的脚本
Netflix Hulu HBO
/etc/dnsmasq.d/custom_netflix.conf
/etc/sniproxy.conf
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 然后目标机器上用dnsmsq把要解锁的域名指向机器就行(?)
3 条回复
排序