A simple front-end of Shadowsocks manyuser. This Version is based on xuanhuan's SS-Panel-smarty.
*最后更新于2019年11月12日,该更新完整实现用户自定义SSR的协议与混淆。
Great thanks to kot4ri xiaoxin and others for their help with fixing bugs and updating functions.
炒鸡感谢 kot4ri xiaoxin 两位大佬不停的给我们这个版本修复Bug和更新内容!! SS-Panel-smarty-Edition
This edition requires Chrome or FireFox for compatible functioning and surfing.
为保证兼容性,请使用 Chrome 或 FireFox。
Please edit the file /lib/config-sample.php
upon your own need, when you finished, rename the file to /lib/config.php
. Set $site_url
as your website address, and be sure that it contains a /
at the end of your URL.
请按需修改 /lib/config-sample.php
的设置,然后把文件重命名成 /lib/config.php
。注意在填写网站网址$site_url
的时候在结尾加一个 /
。
Please rename the /lib/Ss/Code/config-sample.php
to /lib/Ss/Code/config.php
.
请重命名 /lib/Ss/Code/config-sample.php
为 /lib/Ss/Code/config.php
。
Please make sure that /lib/Ss
has the permission to read & write. If not, please set it for convenience.
请确保目录 /lib/Ss
有读写权限,如果没有请改一下。
Please rename the/tools
, or you may be reset to another malicious.
请重命名/tools
,否则可能被他人恶意重置流量。
Add SSR support,It can now be confused with manyuser protocol/obfs/method.Function has been implemented.The default configuration is auth_chain_a/tls1.2_ticket_auth/none.
添加了SSR支持,现在可以使用多用户多协议混淆和加密了。功能已经完整实现。默认配置是auth_chain_a/tls1.2_ticket_auth/none
*请务必将服务端下的apiconfig.py中API_INTERFACE修改为legendsockssr。
when the node is added if the agreement and confusion for the original or not, then the output SS QRCode.
添加节点时若协议和混淆为原版或不填写,则输出SS二维码。
========
Please use the invite code to register and set your account as admin in your database.
Please change the encrypted salt in /lib/config.php. We offer「salt sha256」encrytion.
注意/Attention!:
-
The
$salt
value can not be changed after it has been set!
$salt
在被设置以后不能再次修改! -
If you are upgrading from v2.4 or earlier version, you have to change
pass
to64
. 如果原来为 2.4 之前的版本,需要将pass
字段的长度修改为64
。 -
增加 Nginx 的配置文件 tpl.conf,用于防止直接访问模板文件。 放在当前网站Nginx 配置文件相同目录,然后打开原来的配置文件,找到当前域名的server { } 在里面粘贴:include tpl.conf;
-
增加Apache 的配置文件 .htaccess,用于防止直接访问模板文件,放在当前目录。
- PHP >= 5.4
- PDO Extension
- MCrypt Extension
- Mysql >= 5.1
-
Import
sql/*.sql
to your MySQL Database
将sql/*.sql
导入到 MySQL。 -
Rename
lib/config-sample.php
&&lib/Ss/Code/config-sample.php
toconfig.php
, and edit the infomation inlib/config.php
. -
IMPORTANT:DON'T MANUALLY change
lib/Ss/Code/config.php
after doing above! -
IMPORTANT:DON'T MANUALLY change
lib/Ss/Code/config.php
after doing above! -
IMPORTANT:DON'T MANUALLY change
lib/Ss/Code/config.php
after doing above! -
Enjoy it.
- The user whose
uid
is 1 is the admin by default.
UID 为 1 的用户默认为管理员 - You can Add User ID into table
ss_user_admin
你可以在ss_user_admin
表里添加管理员。
节点列表查看节点负载等信息 The following helps you to show load status in Node List page.
- For Ubuntu/Debian:
$ apt-get install gcc python-dev
$ pip install psutil
- For Centos:
$ yum install gcc python-devel
$ pip install psutil
- 在
/admin/
中添加节点
Add node information in/admin
- 将
serverinfo.py
上传至节点服务器
Uploadserverinfo.py
on to your server. - 修改
serverinfo.py
中posturl
为你的站点地址,server_id
为当前节点对应的ID(/admin/node.php
第一列)
Inserverinfo.py
, use your website's url asposturl
, and use node ID (First column in/admin/node.php
) asserver_id
. - 运行
Run.
$ python serverinfo.py //本脚本可独立于Shadowsocks服务端运行/The script can be used independently of Shadowsocks server.
- 如运行没有问题,请使用nohup/supervisor/screen等后台守护运行,此处不再详述 If there are no problem running the process, please use nohup/supervisor/screen or similar tools to keep the process running in the background.
参阅:/See:
https://github.com/Ahref-Group/SS-Panel-smarty-Edition/issues/26
运行/Run:
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install