Skip to content

Instantly share code, notes, and snippets.

@icodesign
Last active March 22, 2017 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icodesign/55e108370200505f83489a949f3ef67b to your computer and use it in GitHub Desktop.
Save icodesign/55e108370200505f83489a949f3ef67b to your computer and use it in GitHub Desktop.
[PROFILE.default]
name = "Sample Profile1"
dns = [
"8.8.8.8",
"223.5.5.5"
]
defaultRoute = "PROXY"
defaultProxy = "ssr"
rulesets = [
"direct",
"gfw"
]
[PROFILE.direct]
name = "Sample Profile2"
defaultRoute = "DIRECT"
defaultProxy = "ss"
[PROXY.ss]
type = "shadowsocks"
host = "ss.example.com"
port = 8388
password = "DO NOT EXPOSE IT TO OTHERS"
encryption = "aes-256-cfb"
remark = "Test SS"
[PROXY.ssr]
type = "shadowsocksR"
host = "ssr.example.com"
port = 8388
password = "DO NOT EXPOSE IT TO OTHERS"
encryption = "aes-256-cfb"
obfs = "http_simple"
obfsParam = "google.com"
protocol = "auth_aes128_sha1"
protocolParam = "baidu.com"
remark = "Test SSR"
[RULESET.direct]
name = "Test Direct"
rules = [
"GEOIP, CN, DIRECT",
"DOMAIN-SUFFIX, CN, DIRECT"
]
[RULESET.gfw]
name = "Test GFW"
rules = [
"DOMAIN, google, Proxy",
"DOMAIN-SUFFIX, instagram.com, PROXY",
"IP-CIDR, 192.0.0.0/8, REJECT",
"DOMAIN-MATCH, facebook, proxy"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment