shadowsocks-iOS
shadowsocks-iOS copied to clipboard
OS X下如何导入gui-config.json
OS X系统下不会像Windows那样在相对目录下生成gui-config.json,如果我想导入大量服务器数据,如何操作?OS X下是否支持gui-config.json或配置信息存在哪里。
How to import the "gui-config.json" file in OS X like Windows do.
+1,同求,你找到办法实现了吗
文件找到了,在OS X 10.10.5 系统下的~/Library/Preferences/clowwindy.ShadowsocksX.plist
,不过是plist文件,有啥编辑方法吗
[email protected] ,这个方便些
同问,ShadowsockX 怎么导入 gui-config.json 文件?
osx上有nodejs版的,那个的配置文件貌似是json的,或者是安装linux版的
原始邮件 发件人:Wang [email protected] 收件人:shadowsocks/[email protected] 抄送:york [email protected] 发送时间:2015年9月6日(周日) 11:17 主题:Re: [shadowsocks-iOS] OS X下如何导入gui-config.json (#150)
同问,ShadowsockX 怎么导入 gui-config.json 文件? — Reply to this email directly or view it on GitHub.
意思是说,OSX版本就没有这个功能吗?
通过 Android 版 Outlook 发送
On Sat, Sep 5, 2015 at 10:30 PM -0700, "york yuan" [email protected] wrote: osx上有nodejs版的,那个的配置文件貌似是json的,或者是安装linux版的
原始邮件 发件人:Wang [email protected] 收件人:shadowsocks/[email protected] 抄送:york [email protected] 发送时间:2015年9月6日(周日) 11:17 主题:Re: [shadowsocks-iOS] OS X下如何导入gui-config.json (#150)
同问,ShadowsockX 怎么导入 gui-config.json 文件? — Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub: https://github.com/shadowsocks/shadowsocks-iOS/issues/150#issuecomment-138042683
编辑plist的话用defaults就好了吧?
defaults read ~/Library/Preferences/clowwindy.ShadowsocksX.plist
但是读出来有些意义不明的数据... 不知道怎么改。
而且就算修改这个plist文件,实际上程序并未更新,没啥作用
Sublime Text 和 Atom 可以打开文件 并且是非二进制的显示。
edit .plist is not useful.
I used homebrew install shadowsocks_libev.It can use your json configuration file.
plist文件可以用defaults read 读出,那些数据其实就是配置文件的内容,可以用less看一下,但实际上改 了也没用,要再启动才会生效。我改用node.js版的了, 可以直接用json配置文件。 网盘http://pan.baidu.com/s/1sjS5SBV
@MagicNAT @itkang @aquila995
default read
读出的一些字段是十六进制的所以会看起来意义不明
plutil -convert xml1 ~/Library/Preferences/clowwindy.ShadowsocksX.plist -o xxx.xml
可以把 plist 转成 xml,里面那个plutil -convert binary1 xxx.xml -o yyy.plist
重新转成 plist
defaults import clowwindy.ShadowsocksX yyy.plist
重新启动客户端就能载入
但是看起来这个 json 的字段定义和 Windows 客户端的 gut-config.json 并不完全一致:
{"current":9,"profiles":[{"password":"xxxxxxxx","method":"aes-256-cfb","server_port":8888,"remarks":"US-Bandwagon","server":"xxxxxxxxxx"}]}
不知道作者设计这个的时候怎么想的
赞,使用楼上的方法成功批量导入多个地址,格式需要调整一下
mac 可以使用二维码扫描的方式来导入服务器配置。打开产品详情,下面点开服务器列表后面的二维码,然后点开shadowsocks-从屏幕上扫描二维码,弹出的窗口点击确定,就会把该服务器配置导入了。
https://github.com/shadowsocks/shadowsocks-nodejs NodeJS版本的shadowsocks Client已经Deprecated了,作者推荐使用其它版本
生成二维码->复制到本地->解析(可以上传到专门的解析二维码网站)->ss://后面的字符使用base64解码,然后得到:[加密方式]:[密码]@[ip]:[port]
chrome 插件商店有一个插件: SSR解析器
不知是否能解决你的问题

@jamesney ss:// 这样的链接就是个 base64,根本不需要什么解析器,和这个 issue 讨论的问题无关
为什么你们要搞得这么复杂呢? 先在菜单栏中“ShadowsocksX”->"服务器"->“导出全部服务器配置...", 把当前配置导出到文件。 然后再在导出文件中添加你的服务器列表信息。 然后再在菜单栏中“ShadowsocksX”->"服务器"->“导入服务器配置文件...”, 选择你修改好的配置文件。 搞定! content of exported config file:
{ "random" : false, "authPass" : null, "useOnlinePac" : false, "TTL" : 0, "global" : false, "reconnectTimes" : 3, "index" : 0, "proxyType" : 0, "proxyHost" : null, "authUser" : null, "proxyAuthPass" : null, "isDefault" : false, "pacUrl" : null, "configs" : [...], #Just add your server-list configure here, json format. "proxyPort" : 0, "randomAlgorithm" : 0, "proxyEnable" : false, "enabled" : true, "autoban" : false, "proxyAuthUser" : null, "shareOverLan" : false, "localPort" : 1080 }
你为什么不看一眼这个issue的时间呢。。。
shadowsocks 买的服务现在现在可以用 v2ray 了。 官网的 v2ray 只有一个连接,手动配置也可以。