Skip to content

Instantly share code, notes, and snippets.

View sitsh's full-sized avatar

wilsonjw sitsh

  • ebitoo
  • shagnhai
View GitHub Profile
@sitsh
sitsh / block-adobe
Last active December 13, 2021 05:50
block-adobe
127.0.0.1 activate.adobe.com
127.0.0.1 practivate.adobe.com
127.0.0.1 ereg.adobe.com
127.0.0.1 wip3.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 adobe-dns.adobe.com
127.0.0.1 adobe-dns-2.adobe.com
127.0.0.1 adobe-dns-3.adobe.com
@sitsh
sitsh / nginx proxy config
Created May 3, 2022 14:12
nginx proxy config
server {
listen 80;
server_name localhost; #改成自己的域名
root "/home/wwwroot/default"; #改自己的服务器目录
set $custom_host "https://www.baidu.com";
set $custom_host3 "/";
set $custom_host5 "/";
if ($request_uri ~* ^\/((http|https)://(www.)?(\w+(\.)?)+)(.*?)$) {
set $custom_host $1;
@sitsh
sitsh / gist:638783950d958bca2ddd5efec11e7815
Created September 27, 2022 12:19
Xray中转观看Netflix
这个说过很多次了。ray系的锅,因为内置DNS只能解析A/AAAA,非A/AAAA会放行走默认outbound(不经内置路由)
,ios14+因为率先支持http3,其会优先查询HTTPS记录(type65),ray不支持。iOS的Netflix app也会不定时主动向dns.google发起查询
,你也要拦截下来,将HTTPS的查询转发到第三方DNS(比如官网说的coredns),将type65拦截拒绝查询。说难不难,说简单但也要有一定动手能力。
这个说过很多次了。ray系的锅,因为内置DNS只能解析A/AAAA,非A/AAAA会放行走默认outbound(不经内置路由) ...
有没有教程,谢谢
https://zhuanlan.zhihu.com/p/569452790
补充点可用的IP:
上海/电信:
180.163.150.34
180.163.151.34
180.163.151.162
180.163.150.162
收录备用
项目地址,欢迎 star:https://github.com/leitbogioro/Tools
萌咖的一键重装脚本近期经过更新,已经支持 Debian 11/Ubuntu 20.04 等新系统,加入了对 Oracle ARM 机型的支持,现对该脚本进行了一些优化,以增强重装脚本的适用性和实用性。
脚本特色: