com_shadowsocks
Joomla component for managing shadowsocks using shadowsocks-restful-api. By using this component you will be able to manage your shadowsocks server(s) more efficiently.
Features
- Manage multiple users from Joomla backend.
- Support multiple servers.
- Bandwidth calculation & disable users upon over usage.
- Easy package management & more....
First of all you will need to have a working server with shadowsocks-restful-api
install. You can get more information from here: https://github.com/shadowsocks/shadowsocks-restful-api
Install:
- Download the zip archive & install from your Joomla backend.
- Now navigate from
component menu
toShadowsocks
- First of all you will have to add a server. So, from server menu click new to add. In that form you will need to add information of you
shadowsocks-restful-api
. - Now go to package menu & add one package. At present you can add daily, monthly & yearly packages.
- Now go to user menu & assign user to one or multiple servers & a package. You can use any port or password. Remember once you will save this information, you can't change.
- By click on
QR Code
you can get configuration for that particular user's port. - You will need to add a cron job for calculating bandwidth. The link will be
http://YOUR_JOOMLA_SITE/index.php?option=com_shadowsocks&view=cron
. You can set this cron to run every 5 minutes or more.
Tips
If you have plan to use plugin then can be like this:
ss-manager -u --manager-address /tmp/shadowsocks-manager.sock --fast-open --plugin "/usr/local/bin/obfs-server" --plugin-opts "obfs=http;fast-open"
Cron job command can be use like this:
*/5 * * * * wget --quiet --spider --timeout=0 --tries=1 "http://YOUR_JOOMLA_SITE/index.php?option=com_shadowsocks&view=cron"