Skip to content

Instantly share code, notes, and snippets.

@fzerorubigd
Last active November 2, 2015 20:52
Show Gist options
  • Save fzerorubigd/695ebaacaddbbdf98c8b to your computer and use it in GitHub Desktop.
Save fzerorubigd/695ebaacaddbbdf98c8b to your computer and use it in GitHub Desktop.
cow proxy
~/.cow/rc =>
listen = http://0.0.0.0:7070 # <-- Multiple line is allowed for multiple port
#logFile =
#alwaysProxy = true <- if you want to pass always over the proxy
loadBalance = backup/latency # <-- Choose backup or latency
# One is enaugh, but cow can do load balance :) ==> Start parent proxy list
proxy = ss://<enc-method>:<password>@<host>:<port> #<-- shadowsocks server
proxy = http://user:password@host:port # <--http(s) server
sshServer = <user>@<host>:<localport>:<remoteport> # <--ssh server
proxy = cow://method:passwd@host:port # <-- Another cow
proxy = socks5://host:port # <-- socks
# ==> End parent proxy list
allowedClient = 127.0.0.1, 192.168.1.0/24, 10.0.0.0/8 # <-- Allow only local network, optional
#userPasswd = username:password
#userPasswdFile = /path/to/file
#authTimeout = 2h
#core = 2 # <-- CPU core count
#tunnelAllowedPort = 80, 443 # <-- Limit to this ports only (not a good option)
#dialTimeout = 5s
#readTimeout = 5s
#detectSSLErr = false
httpErrorCode = 403 # <-- Add this to detect irans firewall
#EstimateTarget = www.leader.ir # <--- just if you use the git version or 9.5
~/.cow/blocked ==>>
code.google.com
googleapis.com
googleusercontent.com
ytimg.com
youtube.com
youtube-nocookie.com
bitbucket.org
thepiratebay.se
humblebundle.com
plus.url.google.com
golang.org
tumblr.com
radiofarda.com
polymer-project.org
godoc.org
googlesource.com
dl.google.com
dl-ssl.google.com
oracle.com
appspot.com
googlecode.com
draw.io
developers.google.com
developer.chrome.com
bizagi.com
go.googlesource.com
globssl.com
www.globssl.com
customer.globessl.com
appengine.google.com
commondatastorage.googleapis.com
cloud.google.com
domains.google.com
icanhazip.com
www.northfield.ws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment