Skip to content

Instantly share code, notes, and snippets.

@yhyy135
yhyy135 / server-config.json
Created April 1, 2019 08:22
Configuration of V2Ray transit by SS/SSR
{
"inbounds": [{
"port": 8888,
"protocol": "vmess",
"settings": {
"clients": [{
"id": "b12614c5-5ca4-4eba-a215-c61d642116ce",
"level": 1,
"alterId": 64
}]
@yhyy135
yhyy135 / SysVinit
Created August 2, 2017 05:47
The startup script for Shadowsocks R server
#!/bin/sh
# chkconfig: 2345 90 10
# description: Start or stop the Shadowsocks R server
#
### BEGIN INIT INFO
# Provides: Shadowsocks-R
# Required-Start: $network $syslog
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6