From b1b08473b8955953906355d30f7517a3f3ac31c3 Mon Sep 17 00:00:00 2001 From: Prajwal Koirala <16564273+LiveChief@users.noreply.github.com> Date: Mon, 17 Dec 2018 15:11:52 -0500 Subject: [PATCH] updated --- README.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 96dfe3a..988a041 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,28 @@ Besides, Cloak allows multiple users to use one server **on a single port**. QoS 2. Build and run cmd/keygen -k. The base64 string before the comma is the public key, the one after the comma is the private key 3. Run cmd/keygen -u. This will be used as the AdminUID 4. Put the private key and the AdminUID you obtained previously into config/ckserver.json -5. Run `ss-server -c --plugin --plugin-opts ""` +5. /etc/shadowsocks-libev/config.json +``` +{ + "server":["[::0]","0.0.0.0"], + "server_port":443, + "password":"PASSWORD", + "timeout":300, + "user":"nobody", + "method":"aes-128-gcm", + "nameserver": "8.8.8.8", + "nameserver": "8.8.4.4", + "fast_open":false, + "reuse_port":true, + "no_delay":true, + "plugin":"", + "plugin_opts":"" +} +``` + +6. screen +7. ss-server ### If you want to add more users 1. Run cmd/keygen -u to generate a new UID 2. On your client, run `ck-client -a -c ` to enter admin mode @@ -33,4 +53,5 @@ Note: the user database is persistent as it's in-disk. You don't need to add the 1. Clone this repo and build cmd/ck-client 2. Obtain the PUBLIC key and your UID (or the AdminUID, if you are the server admin) from the administrator of your server 3. Put the public key and the UID you obtained into config/ckclient.json -4. Connect to the server by running `ss-local -c --plugin --plugin-opts ""` +4. Connect to the server by running `ss-local -s SERVER_IP_ADDRESS -p 443 -k PASSWORD_HERE -m aes-128-gcm -b 127.0.0.1 -l 1080 + --plugin --plugin-opts ""`