upupming / upupming.github.io

upupming's Blog
https://upupming.site
Other
1 stars 0 forks source link

科学上网原理与方案 | upupming 的博客 #66

Open upupming opened 5 years ago

upupming commented 5 years ago

https://upupming.site/2019/04/30/bypass-gfw/

科学上网原理与方案

zyx0609 commented 5 years ago

好全啊... 博主的博客像个小百宝箱

upupming commented 5 years ago

@zyx0609 有帮助就好~

upupming commented 5 years ago

@sbarker8009 请不要发广告,谢谢配合。

Shawnnn commented 4 years ago

谢谢博主分享,学习了。之前一直听各种翻墙,终于知道分门别类和优劣。 请问这个博客是怎么建立的,看起来很舒服!

upupming commented 4 years ago

@Shawnnn 有帮助就好!博客用的hexo构建的,是melody主题,欢迎fork哦https://github.com/upupming/upupming.github.io

Trisscute commented 4 years ago

谢谢博主的文章内容非常好,求教一个问题,我现在使用ss翻墙,但是发现火狐浏览器和chrome浏览器都无法正常访问谷歌,只有edge可以正常访问,然后ping谷歌和nslookup解析结果谷歌被解析成了环回地址,校园网环境,然后修改dns清除dns解析缓存后依然解析成环回地址,还是只有edge可以正常访问,这个情况应该怎么办,请问博主有什么建议吗

upupming commented 4 years ago

@Trisscute Chrome建议使用switchyOmega插件,Firefox不太清楚。至于现在为什么无法访问,我感觉你可能是代理模式设置有误,为啥Edge可以就不太清楚了,需要有详细的配置才可以判断。

Trisscute commented 4 years ago

@upupming @Trisscute Chrome建议使用switchyOmega插件,Firefox不太清楚。至于现在为什么无法访问,我感觉你可能是代理模式设置有误,为啥Edge可以就不太清楚了,需要有详细的配置才可以判断。

博主,我昨天尝试了很多操作更换dns清除浏览器缓存都没有用,但是打开谷歌变成了提示不是私密连接,然后今天继续尝试突然两个浏览器都能正常访问了...就是出问题了不知道哪个环节,好了也不知道是哪里的问题,不过以前也出现过因为显示不是私密连接不能翻墙的,谢谢博主的文章,写的非常详细明了,思路很清晰,我就是搜教程找到的你的博客

upupming commented 4 years ago

@Trisscute 这个问题我之前也有时候遇到,不过现在没有出现了,我也不太清楚具体的原因,可以试试强制 HTTPS。再次出现的话,可以再调查看看。这篇文章当时写了好久,很高兴能对你有所帮助!

meilele commented 4 years ago

按照你在github上面的开源项目我始终无法部署成功显示如下: 我通过在https://zeit.co面板里面创建Git存储库,在部署后显示(错误:无法更新存储库:) 然后我又用win客户端通过now deploy命令上传显示如下错误:

D:\nodejs\www>now deploy

Error! Your package.json file is missing a build property inside the scri pt property. More details: https://zeit.co/docs/v2/platform/frequently-asked-questions#missin g-build-script

meilele commented 4 years ago

或者有没有更为详细的部署教程,小白定有重谢。

upupming commented 4 years ago

@meilele 不需要在 zeit.co 创建存储库,直接在本地部署即可。 另外这个错误原因是因为你没有仔细读文档... image

meilele commented 4 years ago

可不可以不用别名部署,就用now 分配的域名?

upupming commented 4 years ago

@meilele 可以的,你不修改 proxying 字段也不按照官方文档配置域名 A 解析就 ok,不管怎么样 now.sh 都会跟你分配一个子域名的。比如我的是 https://google.upupming.now.sh/ ,我配置了之后就变成了 https://google.upupming.site/ ,两个同时都可以用,不配置的话,就只有 now.sh 的域名可以用,在命令行执行的时候你会看到 now.sh 给你分配的域名。

自己好好读文档吧,里面都有: image

之后有问题可以移步 issue 区,这样别人也能看到~

meilele commented 4 years ago

@upupming @meilele 可以的,你不修改 proxying 字段也不按照官方文档配置域名 A 解析就 ok,不管怎么样 now.sh 都会跟你分配一个子域名的。比如我的是 https://google.upupming.now.sh/ ,我配置了之后就变成了 https://google.upupming.site/ ,两个同时都可以用,不配置的话,就只有 now.sh 的域名可以用,在命令行执行的时候你会看到 now.sh 给你分配的域名。

Folder wiki created Folder wiki configured Deploying wiki to now now.sh:

Deploying D:\nodejs\Mirror-dev\Mirror-dev\wiki under baiduqq Using project wiki WARN! We recommend using the much shorter --prod option instead of --target production (deprecated) Error! You are not owner of the domain "upupming.site"

meilele commented 4 years ago

now.sh分配的域名 https://mwiki-psi-livid.now.sh/ 打不开,显示404

upupming commented 4 years ago

@meilele 应该是你操作有问题,把你的操作步骤详细地说明(复制/截图命令行内容),并且附上命令行输出,不然我也无法判断你的问题所在。

meilele commented 4 years ago
C:\Users\Administrator>cd D:\nodejs\Mirror-dev\Mirror-dev

C:\Users\Administrator>d:

D:\nodejs\Mirror-dev\Mirror-dev>npm i
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fse
vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)

audited 2287 packages in 7.389s
found 0 vulnerabilities

D:\nodejs\Mirror-dev\Mirror-dev>npm run deploy

> upupming-mirror@0.0.2 deploy D:\nodejs\Mirror-dev\Mirror-dev
> node index.js

Making mirror google
Making mirror scholar.google
Making mirror maps.google
Making mirror translate.google
Making mirror docs.google
Making mirror drive.google
Making mirror code.google
Making mirror wiki
Making mirror mwiki
Folder google created
Folder google configured
Deploying google to now
now.sh:
> Deploying D:\nodejs\Mirror-dev\Mirror-dev\google under kejiguan
> Using project google
> WARN! We recommend using the much shorter `--prod` option instead of `--target
 production` (deprecated)
> Error! You are not owner of the domain "upupming.site"

now.sh:

Folder maps.google created
Folder maps.google configured
Deploying maps.google to now
now.sh:
> Deploying D:\nodejs\Mirror-dev\Mirror-dev\maps.google under kejiguan
> Using project maps.google
> WARN! We recommend using the much shorter `--prod` option instead of `--target
 production` (deprecated)
> Error! You are not owner of the domain "upupming.site"

now.sh:

Folder translate.google created
Folder translate.google configured
Deploying translate.google to now
now.sh:
> Deploying D:\nodejs\Mirror-dev\Mirror-dev\translate.google under kejiguan
> Using project translate.google
> WARN! We recommend using the much shorter `--prod` option instead of `--target
 production` (deprecated)
> Error! You are not owner of the domain "upupming.site"

now.sh:

Folder wiki created
Folder wiki configured
Deploying wiki to now
now.sh:
> Deploying D:\nodejs\Mirror-dev\Mirror-dev\wiki under kejiguan
> Using project wiki
> WARN! We recommend using the much shorter `--prod` option instead of `--target
 production` (deprecated)
> Error! You are not owner of the domain "upupming.site"

now.sh:

Folder drive.google created
Folder drive.google configured
Deploying drive.google to now
now.sh:
> Deploying D:\nodejs\Mirror-dev\Mirror-dev\drive.google under kejiguan
> Using project drive.google
> WARN! We recommend using the much shorter `--prod` option instead of `--target
 production` (deprecated)
> Error! You are not owner of the domain "upupming.site"

now.sh:

Folder mwiki created
Folder mwiki configured
Deploying mwiki to now
now.sh:
> Deploying D:\nodejs\Mirror-dev\Mirror-dev\mwiki under kejiguan
> Using project mwiki
> WARN! We recommend using the much shorter `--prod` option instead of `--target
 production` (deprecated)
> Error! You are not owner of the domain "upupming.site"

now.sh:

Folder scholar.google created
Folder scholar.google configured
Deploying scholar.google to now
now.sh:
> Deploying D:\nodejs\Mirror-dev\Mirror-dev\scholar.google under kejiguan
> Using project scholar.google
> WARN! We recommend using the much shorter `--prod` option instead of `--target
 production` (deprecated)
> Error! You are not owner of the domain "upupming.site"

now.sh:

Folder code.google created
Folder code.google configured
Deploying code.google to now
now.sh:
> Deploying D:\nodejs\Mirror-dev\Mirror-dev\code.google under kejiguan
> Using project code.google
> WARN! We recommend using the much shorter `--prod` option instead of `--target
 production` (deprecated)
> Error! You are not owner of the domain "upupming.site"

now.sh:

Folder docs.google created
Folder docs.google configured
Deploying docs.google to now
now.sh:
> Deploying D:\nodejs\Mirror-dev\Mirror-dev\docs.google under kejiguan
> Using project docs.google
> WARN! We recommend using the much shorter `--prod` option instead of `--target
 production` (deprecated)
> Error! You are not owner of the domain "upupming.site"

now.sh:

D:\nodejs\Mirror-dev\Mirror-dev\maps.google cleaned up
D:\nodejs\Mirror-dev\Mirror-dev\google cleaned up
D:\nodejs\Mirror-dev\Mirror-dev\translate.google cleaned up
D:\nodejs\Mirror-dev\Mirror-dev\wiki cleaned up
D:\nodejs\Mirror-dev\Mirror-dev\drive.google cleaned up
D:\nodejs\Mirror-dev\Mirror-dev\mwiki cleaned up
D:\nodejs\Mirror-dev\Mirror-dev\scholar.google cleaned up
D:\nodejs\Mirror-dev\Mirror-dev\code.google cleaned up
D:\nodejs\Mirror-dev\Mirror-dev\docs.google cleaned up

D:\nodejs\Mirror-dev\Mirror-dev>
meilele commented 4 years ago

@upupming @meilele 应该是你操作有问题,把你的操作步骤详细地说明(复制/截图命令行内容),并且附上命令行输出,不然我也无法判断你的问题所在。

你这个无法上传图片,我只有直接复制下来了。

upupming commented 4 years ago

@meilele 我们到 https://github.com/upupming/Mirror/issues/2 讨论吧

panqingyong commented 4 years ago

爱了爱了,干货多。

yhwhu commented 4 years ago

请问楼主为什么我的电脑连接wifi后不能翻墙,但是连接手机热点就可以呢?有什么解决办法吗?

halohoop commented 4 years ago

精彩的文章。想请教一下 贵站的评论是用什么支持的哈?

upupming commented 4 years ago

@halohoop Gitalk,请参考文档:https://molunerfinn.com/hexo-theme-melody-doc/zh-Hans/third-party-support.html#gitalk

halohoop commented 4 years ago

@upupming @halohoop Gitalk,请参考文档:https://molunerfinn.com/hexo-theme-melody-doc/zh-Hans/third-party-support.html#gitalk

嗯嗯👍,我刚刚找到了就邮件看到你的回复了~ 哈哈

gaiding commented 4 years ago

谢谢博主的分享,有个疑问 ,在国内 如果一部分时间使用代理,但希望有时可以直连,需不需要把PC 或路由配置上较好的DNS呢?如果需要,比如腾讯云是否推荐呢? 还是配置cloudflare DNS 好呢 ? 因为考虑到有很多时候要访问的网站可能在国内或国外,我不知道该如何解决此问题,就是想提高访问速度 谢

upupming commented 4 years ago

@gaiding 「一部分时间」不太理解,直接手动切换模式不行吗?

gaiding commented 4 years ago

就是我有时候 会需要直连 有时候需要代理, 我想知道DNS 是否用自动分配还是手动配置好?

On Fri, May 22, 2020 at 9:25 AM Yiming Li notifications@github.com wrote:

@gaiding https://github.com/gaiding 「一部分时间」不太理解,直接手动切换模式不行吗?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/upupming/upupming.github.io/issues/66#issuecomment-632427574, or unsubscribe https://github.com/notifications/unsubscribe-auth/APSU5UKCVVN5CQ46ZOVFA6LRSXIALANCNFSM4HJKVWVA .

upupming commented 4 years ago

@gaiding 直接手动切换模式就好了

andy-sherlock commented 4 years ago

用ssr翻墙但是谷歌搜索还是用不了,其他的youtube什么的正常 只有谷歌搜索用不了 必须要把dns改成8.8.8.8才能用 这是什么情况 有办法解决吗 改完dns之后网速感觉变慢了好多