Created
January 29, 2016 16:04
-
-
Save codexss/84d88d7562d03f3a3848 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#smartproxy config file | |
#字符’#’用于注释 | |
#参数每行一条,参数名称和值之间用空格分隔,使用”name value1 value2 … valueN”格式。 | |
#同一参数名称可以在多行出现,系统会将其值自动合并成一个数组。 | |
#TAG:session_name | |
#设置VPN连接会话名称。默认值:无。非必须。 | |
session_name smartproxy | |
#TAG:welcome_info | |
#设置VPN连接后的欢迎信息。默认值:无。非必须。 | |
welcome_info Welcome to smartproxy! | |
#TAG:ip | |
#设置VPN的IP地址。默认值:10.8.0.2。非必须。 | |
ip 10.8.0.2 | |
#TAG:dns | |
#设置VPN的DNS地址,设置后系统将使用该DNS,若不设置系统将使用原来的DNS。默认值:无。非必须。 | |
dns 114.114.114.114 | |
dns 8.8.8.8 | |
#TAG:dns | |
#DNS缓存时间,单位秒,用于防DNS污染。默认值:30。非必须。 | |
dns_ttl 30 | |
#TAG:route 非必须。 | |
#设置VPN路由,符合该路由的网络都会通过VPN。默认值:0.0.0.0/0。非必须。 | |
route 0.0.0.0/0 | |
#TAG:proxy | |
#目前支持HTTP(CONNECT)和Shadowsocks(table加密)两种代理。必须。 | |
#可以设置多个代理,但是目前系统只会使用第一个。 | |
#需要用户名密码验证的代理服务器地址 | |
proxy http://username:password@hostname:port | |
#无需验证的代理服务器 | |
proxy http://hostname:port | |
#shadowsocks地址(目前method仅支持table) | |
proxy ss://method:password@hostname:port | |
#Base64加密的shadowsocks地址(目前method仅支持table) | |
proxy ss://YmYtY2ZiOnRlc3RAMTkyLjE2OC4xMDAuMTo4ODg4 | |
#TAG:outside_china_use_proxy | |
#设置国外网站是否走代理。默认值:on。非必须。 | |
outside_china_use_proxy on | |
#TAG:direct_domain | |
#设置直连的域名。非必须。 | |
direct_domain baidu.com qq.com taobao.com | |
direct_domain sina.com 163.com sohu.com | |
#TAG:proxy_domain | |
#设置需要代理的域名。非必须。 | |
proxy_domain google.com twitter.com facebook.com youtube.com | |
#end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment