Skip to content

Instantly share code, notes, and snippets.

@jizhang
Last active January 3, 2017 12:40
Show Gist options
  • Save jizhang/71b9847e02db5d02ce5f to your computer and use it in GitHub Desktop.
Save jizhang/71b9847e02db5d02ce5f to your computer and use it in GitHub Desktop.
GFW
# Linux
Host github.com
ProxyCommand socat STDIO PROXY:192.168.1.101:%h:%p,proxyport=8118
# Mac
Host github.com
ProxyCommand nc -X 5 -x 127.0.0.1:1086 %h %p
ServerAliveInterval 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment