Skip to content

Instantly share code, notes, and snippets.

@jun1st
Created February 4, 2018 02:36
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 jun1st/40a4109b523a82d19e7c2e5ece2922e6 to your computer and use it in GitHub Desktop.
Save jun1st/40a4109b523a82d19e7c2e5ece2922e6 to your computer and use it in GitHub Desktop.
# 头部描述信息(可选)
# 在 PCL 的头部一般添加上本文件和作者的描述信息,在 Potatso App 中暂时没有实际作用。
name = "Potatso Sample Configuration"
author = "Potatso"
email = "potatso.com@gmail.com"
website = "http://manual.potatso.com"
description = "The sample PCF. This demonstrates the basic grammar of defining a PCL."
# 用户配置(Profile)
[PROFILE.sample]
name = "Sample Profile"
dns = [
"8.8.8.8",
"223.5.5.5"
]
defaultRoute = "PROXY"
proxy = "hk"
rulesets = [
"direct",
"google"
]
# 代理(Proxy)
[PROXY.hk]
type = "SHADOWSOCKS"
host = "ss.example.com"
port = 8388
encryption = "aes-256-cfb"
password = "DO NOT EXPOSE IT TO OTHERS"
remark = "HK Proxy"
[PROXY.us_ssr]
type = "SHADOWSOCKSR"
host = "ssr.example.com"
port = 8388
encryption = "aes-256-cfb"
password = "DO NOT EXPOSE IT TO OTHERS"
protocol = "auth_aes128_md5"
protocolParam = "64#123:user"
obfs = "tls1.2_ticket_auth"
obfsParam = "cloudflare.com"
remark = "HK Proxy"
[PROXY.jp]
type = "SOCKS5"
host = "socks5.example.com"
port = 8888
user = "testuser"
password = "DO NOT EXPOSE IT TO OTHERS"
remark = "HK Proxy"
# 规则集(Ruleset)
[RULESET.direct]
name = "Direct"
rules = [
"DOMAIN-SUFFIX, cn, DIRECT",
"GEOIP, cn, DIRECT"
]
[RULESET.google]
name = "Google Rules"
rules = [
"DOMAIN-MATCH, google, PROXY",
"DOMAIN-MATCH, gstatic, PROXY"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment