Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What may be the reason for being able to access Google but not GitHub #514

Open
chainofhonor opened this issue Mar 20, 2024 · 4 comments
Open

Comments

@chainofhonor
Copy link

I am using Wireguard and everything is working fine on OpenWrt on X86
I want to move this setting to the router, so I set it up with the router
Identical configuration,Configure using udp2raw
If you use a router, you can access Google, YouTube, and so on, but GitHub cannot access them. What might be the problem

我用的wireguard,在X86的openwrt上一切正常
我想把这个设置搬到路由器上,就用路由器设置了一下
一模一样的配置,用udp2raw配置
结果用路由器的话就是能访问谷歌,youtube,等等都正常,唯独github不能访问,这可能是什么问题

@chainofhonor
Copy link
Author

Has anyone encountered the same problem as me
Very strange question
Google can access it, but GitHub can't
Even in global mode, it doesn't work

有人遇到和我相同的问题了吗
很奇怪的问题
谷歌都能访问,就是github不行
哪怕是全局模式也不行

@mxmkeep
Copy link

mxmkeep commented Mar 23, 2024

只是用wireguard+udp2raw?有用nginx做应用层代理么?画下架构,可能是http2.0引起的,GitHub域名多解析又不同

@chainofhonor
Copy link
Author

只是用wireguard+udp2raw?有用nginx做应用层代理么?画下架构,可能是http2.0引起的,GitHub域名多解析又不同

只有wireguard+udp2raw
路由器刷了openwrt最新的系统

wg设置了MTU=1280

udp2raw 命令如下:
服务端
/root/udp2tcp/udp2raw_amd64 -s -l 1.2.3.4:4501 -r 127.0.0.1:4501 -k "passwd123" --raw-mode faketcp --cipher-mode xor --auth-mode simple &

客户端
/root/udp2tcp/udp2raw_mips24kc_le -c -l 127.0.0.1:4501 -r 1.2.3.4:4501 -k "passwd123" --raw-mode faketcp --cipher-mode xor --auth-mode simple &

dns用的dnsmasq 域名解析分流已经弄了 谷歌 github等都是用8.8.8.8解析的

然后效果就是上面说的 谷歌等各种国外网站都能访问 唯独github不行

另外我还发现,udp2raw长期占用50% 路由器的CPU是MT7621 双核的

@mxmkeep
Copy link

mxmkeep commented Mar 25, 2024

看起来确实有些奇怪,你试试在server端,抓发给GitHub的包,看能不能看出什么了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants