Skip to content

Instantly share code, notes, and snippets.

@xinyue
xinyue / howto-setup-transparent-proxied-router.md
Created January 2, 2020 08:24 — forked from snakevil/howto-setup-transparent-proxied-router.md
如何在路由器中实现透明代理?

如何在路由器中实现透明代理?

0 互联网现状

目前整个互联网环境,被破坏最严重地部分,是 Web 服务体验。当直接破坏难以实现时,就会从流程链的上下游着手,如:DNS 污染。

其它地互联网服务类型,例如:邮件,可能小部分会受到 Web 服务上下游破坏地余震,但整体上基本不受影响。

#进入缓存目录
cd $OPENSHIFT_TMP_DIR
#下载需要的源码
wget http://nginx.org/download/nginx-1.11.4.tar.gz
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.39.tar.gz
wget https://www.openssl.org/source/openssl-1.1.0a.tar.gz
wget http://zlib.net/zlib-1.2.8.tar.gz
git clone https://github.com/cuber/ngx_http_google_filter_module
git clone https://github.com/yaoweibin/ngx_http_substitutions_filter_module
@xinyue
xinyue / tmux-cheatsheet.markdown
Created September 30, 2016 22:50 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname