All Projects → comwrg → Fuck Gfw

comwrg / Fuck Gfw

记录各个包管理器使用代理的方法, 因为GFW已经浪费了已经数不清的时间, FUCK GFW

Labels

Projects that are alternatives of or similar to Fuck Gfw

Blinksocks
A framework for building composable proxy protocol stack.
Stars: ✭ 587 (+453.77%)
Mutual labels:  gfw
G2w.online
域名已被DNS污染,水表已拆
Stars: ✭ 49 (-53.77%)
Mutual labels:  gfw
Coolhosts
一键替换安卓的hosts文件
Stars: ✭ 72 (-32.08%)
Mutual labels:  gfw
Gfwdata
Stars: ✭ 805 (+659.43%)
Mutual labels:  gfw
Google Access Helper
谷歌访问助手破解版
Stars: ✭ 7,640 (+7107.55%)
Mutual labels:  gfw
Shadowsocksx Ng R8
ShadowsocksX-NG-R for MacOS, ShadowsocksR
Stars: ✭ 1,066 (+905.66%)
Mutual labels:  gfw
Awesome Network Stuff
Resources about network security, including: Proxy/GFW/ReverseProxy/Tunnel/VPN/Tor/I2P, and MiTM/PortKnocking/NetworkSniff/NetworkAnalysis/etc。More than 1700 open source tools for now. Post incoming.
Stars: ✭ 578 (+445.28%)
Mutual labels:  gfw
Httpproxy
http代理,支持CONNECT和普通GET/POST,支持http2;可防止主动嗅探;可作为小火箭、圈、surge等软件和SwitchyOmega(chrome插件)所说的https代理
Stars: ✭ 104 (-1.89%)
Mutual labels:  gfw
Trojanx
A bare-bones Trojan (as in the anti-GFW tool) GUI client for macOS, written in Swift and shell.
Stars: ✭ 45 (-57.55%)
Mutual labels:  gfw
Freesky
自由门最新7.95版 无界19.02正式版下载 自由门 无界 无界浏览 英文版 翻墙软件 翻墙工具 下载 翻墙软件教程 Mac翻墙软件 自由门使用教程--自由天空
Stars: ✭ 1,171 (+1004.72%)
Mutual labels:  gfw
Cloak
A censorship circumvention tool to evade detection against state adversaries
Stars: ✭ 942 (+788.68%)
Mutual labels:  gfw
Xx Net
A proxy tool to bypass GFW.
Stars: ✭ 30,963 (+29110.38%)
Mutual labels:  gfw
Inlets
Cloud Native Tunnel, now inlets PRO
Stars: ✭ 8,420 (+7843.4%)
Mutual labels:  gfw
Clash Rules
🦄️ 🎃 👻 Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 客户端。
Stars: ✭ 706 (+566.04%)
Mutual labels:  gfw
Miles
二爷翻墙,专注免费翻墙30年,但没有掌握核心科技,一切已经开始!^_^
Stars: ✭ 1,230 (+1060.38%)
Mutual labels:  gfw
Free
翻墙、免费翻墙、免费科学上网、免费节点、免费梯子、免费ss/v2ray/trojan节点、蓝灯、谷歌商店、翻墙梯子
Stars: ✭ 16,689 (+15644.34%)
Mutual labels:  gfw
Lantern
Lantern官方版本下载 蓝灯 翻墙 代理 科学上网 外网 加速器 梯子 路由 lantern proxy vpn censorship-circumvention censorship gfw accelerator
Stars: ✭ 10,238 (+9558.49%)
Mutual labels:  gfw
Breaking Gfw Book
整理所有的翻墙方法,持续更新....欢迎PR
Stars: ✭ 105 (-0.94%)
Mutual labels:  gfw
Delete
(迫于压力,本项目停止维护,请尽快fork代码。1月1日之后删除项目)[免翻墙工具]A free and open-source youtube video proxy script [Written in PHP]
Stars: ✭ 1,316 (+1141.51%)
Mutual labels:  gfw
Goagent Always Available
一直可用的GoAgent,会定时扫描可用的google gae ip,提供可自动化获取ip运行的版本
Stars: ✭ 1,146 (+981.13%)
Mutual labels:  gfw

FUCK-GFW

I do not want waste time in GFW again.

pip

~/.config/pip/pip.conf

[global]
proxy=http://localhost:1087

注意不支持socks5

Reference

git

clone with ssh

在 文件 ~/.ssh/config 后添加下面两行

Host github.com
ProxyCommand nc -X 5 -x 127.0.0.1:1080 %h %p

clone with http

git config --global http.proxy http://127.0.0.1:1087

建议使用http, 因为socks5 在使用git-lfs时会报错proxyconnect tcp: dial tcp: lookup socks5: no such host

Reference

https://gist.github.com/laispace/666dd7b27e9116faece6

cargo

Cargo 会依次检查以下位置

  1. 环境变量 CARGO_HTTP_PROXY
export CARGO_HTTP_PROXY=http://127.0.0.1:1080
  1. 任意 config.toml 中的 http.proxy
[http]
proxy = "127.0.0.1:1080"
  1. 环境变量 HTTPS_PROXY & https_proxy & http_proxy
export https_proxy=http://127.0.0.1:1080
export http_proxy=http://127.0.0.1:1080

http_proxy 一般来讲没必要,除非使用基于 HTTP 的 Crate Repository

Cargo 使用 libcurl,故可接受任何符合 libcurl format 的地址与协议

( 127.0.0.1:1080 , http://127.0.0.1:1080, socks5://127.0.0.1:1080 )均可

Reference

https://doc.rust-lang.org/cargo/reference/config.html#httpproxy

curl

socks5 = "127.0.0.1:1080"

add to ~/.curlrc

Reference

https://www.zhihu.com/question/31360766

Gradle

这个浪费了好长时间额 ~/.gradle/gradle.properties

systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=1087
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=1087

Reference

https://stackoverflow.com/questions/5991194/gradle-proxy-configuration

go get

HTTP_PROXY=socks5://localhost:1080 go get

测试了下HTTPS_PROXY和ALL_PROXY都不起作用

OR使用goproxy.io

npm

npm config set proxy http://127.0.0.1:1087
npm config set https-proxy http://127.0.0.1:1087

用socks5就报错- -

推荐使用yarn,npm是真的慢

reference

rustup

export https_proxy=http://127.0.0.1:1080

废物中国电信,不挂代理慢如龟

yarn

yarn config set proxy http://XX
yarn config set https-proxy http://XX

不支持socks5

Reference

https://github.com/yarnpkg/yarn/issues/3418

gem

~/.gemrc

---
# See 'gem help env' for additional options.
http_proxy: http://localhost:1087

reference

  • google

brew

ALL_PROXY=socks5://localhost:1080 brew ...

wget

use_proxy=yes
http_proxy=127.0.0.1:1087
https_proxy=127.0.0.1:1087

~/.wgetrc

Reference

snap

sudo snap set system proxy.http="http://127.0.0.1:1087"
sudo snap set system proxy.https="http://127.0.0.1:1087"

Reference

https://askubuntu.com/questions/764610/how-to-install-snap-packages-behind-web-proxy-on-ubuntu-16-04#answer-1146047

docker

$ sudo mkdir -p /etc/systemd/system/docker.service.d
$ sudo vim /etc/systemd/system/docker.service.d/proxy.conf

[Service]
Environment="ALL_PROXY=socks5://localhost:1080"

$ sudo systemctl daemon-reload
$ sudo systemctl restart docker

必须是socks5,http不生效

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].