网站背景图
宁语之溪 路漫漫其修远兮,吾将上下而求索
博主

11月14日在线

宁语之溪
路漫漫其修远兮,吾将上下而求索
博主 宁语之溪
博主 11月14日 在线自豪地使用 Typecho 建站搭配使用 🌻Sunny 主题当前在线 3 人

网站已运行 2 年 312 天 6 小时 46 分

Powered by Typecho & Sunny

3 online · 48 ms

Title

Github访问优化及ipv6访问

语之溪

·

代码

·

Article
⚠️ 本文最后更新于2025年01月22日,已经过了302天没有更新,若内容或图片失效,请留言反馈

IPV6访问:

GitHub仍不支持IPv6,但是可以使用指定host到代理服务器实现

♾️ text 代码:
cat >> /etc/hosts << EOF
# https://danwin1210.de/github-ipv6-proxy.php
2a01:4f8:c010:d56::2 github.com
2a01:4f8:c010:d56::3 api.github.com
2a01:4f8:c010:d56::4 codeload.github.com
2a01:4f8:c010:d56::5 objects.githubusercontent.com
2a01:4f8:c010:d56::6 ghcr.io
2a01:4f8:c010:d56::7 pkg.github.com npm.pkg.github.com maven.pkg.github.com nuget.pkg.github.com rubygems.pkg.github.com
EOF

访问优化:

编辑/etc/hosts

♾️ text 代码:
52.74.223.119 github.com
192.30.253.119 gist.github.com
54.169.195.247 api.github.com
185.199.111.153 assets-cdn.github.com
151.101.76.133 raw.githubusercontent.com
151.101.108.133 user-images.githubusercontent.com
151.101.76.133 gist.githubusercontent.com
151.101.76.133 cloud.githubusercontent.com
151.101.76.133 camo.githubusercontent.com
151.101.76.133 avatars0.githubusercontent.com
151.101.76.133 avatars1.githubusercontent.com
151.101.76.133 avatars2.githubusercontent.com
151.101.76.133 avatars3.githubusercontent.com
151.101.76.133 avatars4.githubusercontent.com
151.101.76.133 avatars5.githubusercontent.com
151.101.76.133 avatars6.githubusercontent.com
151.101.76.133 avatars7.githubusercontent.com
151.101.76.133 avatars8.githubusercontent.com
现在已有 546 次阅读,0 条评论,0 人点赞
Author:语之溪
作者
Github访问优化及ipv6访问
当前文章累计共 1277 字,阅读大概需要 1 分钟。
Github访问优化及ipv6访问
2025年1月22日 · 0评论
测试
2025年1月17日 · 0评论
某人的初次体验(非作者)
2025年2月9日 · 0评论
Comment:共0条
发表
搜索 消息 足迹
你还不曾留言过..
你还不曾留下足迹..
博主 不再显示
博主
未知作品 歌曲封面
博主 立即安装
前往评论 切换字号